W3cubDocs

/WordPress

apply_filters( 'user_dashboard_url', string $url, int $user_id, string $path, string $scheme )

Filters the dashboard URL for a user.

Parameters

$url

(string) The complete URL including scheme and path.

$user_id

(int) The user ID.

$path

(string) Path relative to the URL. Blank string if no path is specified.

$scheme

(string) Scheme to give the URL context. Accepts 'http', 'https', 'login', 'login_post', 'admin', 'relative' or null.

Source

File: wp-includes/link-template.php

View on Trac

Changelog

Version Description
3.1.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/user_dashboard_url