redirect_user_admin_request
Filters whether to redirect the request to the User Admin in Multisite.
Usage
add_filter( 'redirect_user_admin_request', 'wp_kama_redirect_user_admin_request_filter' ); /** * Function for `redirect_user_admin_request` filter-hook. * * @param bool $redirect_user_admin_request Whether the request should be redirected. * * @return bool */ function wp_kama_redirect_user_admin_request_filter( $redirect_user_admin_request ){ // filter... return $redirect_user_admin_request; }
- $redirect_user_admin_request(true|false)
- Whether the request should be redirected.
Changelog
Since 3.2.0 | Introduced. |
Where the hook is called
In file: /wp-admin/user/admin.php
redirect_user_admin_request
wp-admin/user/admin.php 28
$redirect_user_admin_request = apply_filters( 'redirect_user_admin_request', $redirect_user_admin_request );