redirect_user_admin_request WordPress Filter Hook
The redirect_user_admin_request hook is called whenever a user tries to access the WordPress admin area, before the user is actually redirected. This hook can be used to modify the URL that the user is redirected to, or to cancel the redirect altogether.
apply_filters( 'redirect_user_admin_request', bool $redirect_user_admin_request ) #
Filters whether to redirect the request to the User Admin in Multisite.
Contents
Parameters
- $redirect_user_admin_request
(bool)Whether the request should be redirected.
Source
File: wp-admin/user/admin.php
Changelog
Version | Description |
---|---|
3.2.0 | Introduced. |