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.


Parameters

$redirect_user_admin_request

(bool)Whether the request should be redirected.


Top ↑

Source

File: wp-admin/user/admin.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
3.2.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.