Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/link-template.php | apply_filters | 3897 | /** * 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. */ |
Hook Parameters
Parameter 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', |