Filter hook 'user_dashboard_url'
in WP Core File wp-includes/link-template.php at line 3987
Description
Filters the dashboard URL for a user.
Occurrences
Filename |
Line Number |
wp-includes/link-template.php |
3987 |
Parameters
Type |
Name |
Description |
string |
$url |
The complete URL including scheme and path. |
int |
$user_id |
The user ID. |
string |
$path |
Path relative to the URL. Blank string if no path is specified. |
string |
$scheme |
Scheme to give the URL context. Accepts 'http', 'https', 'login', 'login_post', 'admin', 'relative' or null. |
PHP Doc
/**
* Filters the dashboard URL for a user.
*
* @since 3.1.0
*
* @param string $url The complete URL including scheme and path.
* @param int $user_id The user ID.
* @param string $path Path relative to the URL. Blank string if no path is specified.
* @param string $scheme Scheme to give the URL context. Accepts 'http', 'https', 'login',
* 'login_post', 'admin', 'relative' or null.
*/