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

Filters the dashboard URL for a user.


Parameters

$url

The complete URL including scheme and path.

$user_id

The user ID.

$path

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

$scheme

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 GitHub



Changelog

Changelog
Version Description
WP-3.1.0 Introduced.