How can I redirect user from wp-admin
to another custom page, for example I want to redirect this url:
http://example.com/wp-admin
to:
http://example.com/custom
How can I redirect user from wp-admin
to another custom page, for example I want to redirect this url:
http://example.com/wp-admin
to:
http://example.com/custom
wp_redirect( $location, $status );
exit;
OR try like this
wp_redirect( home_url( '/custom/' ) );
exit();