user_dashboard_url

Advertisement

Summery Summery

Filters the dashboard URL for a user.

Syntax Syntax

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

Parameters 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 Source

File: wp-includes/link-template.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.1.0 Introduced.

Advertisement

Leave a Reply