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

In this article

Filters the dashboard URL for a user.

Parameters

$urlstring
The complete URL including scheme and path.
$user_idint
The user ID.
$pathstring
Path relative to the URL. Blank string if no path is specified.
$schemestring
Scheme to give the URL context. Accepts 'http', 'https', 'login', 'login_post', 'admin', 'relative' or null.

Source

return apply_filters( 'user_dashboard_url', $url, $user_id, $path, $scheme );

Changelog

VersionDescription
3.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.