On this page
apply_filters( 'user_admin_url', string $url, string $path, string|null $scheme )
Filters the user admin URL for the current user.
Parameters
$urlstring-
The complete URL including scheme and path.
$pathstring-
Path relative to the URL. Blank string if no path is specified.
$schemestring|null-
The scheme to use. Accepts
'http','https','admin', or null. Default is'admin', which obeys force_ssl_admin() and is_ssl() .
Source
File: wp-includes/link-template.php. View all references
return apply_filters( 'user_admin_url', $url, $path, $scheme );
Related
Used By
| Used By | Description |
|---|---|
| user_admin_url() wp-includes/link-template.php | Retrieves the URL to the admin area for the current user. |
Changelog
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/user_admin_url