admin_url

Advertisement

Summery Summery

Filters the admin area URL.

Syntax Syntax

apply_filters( 'admin_url', string $url, string $path, int|null $blog_id )

Parameters Parameters

$url

The complete admin area URL including scheme and path.

$path

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

$blog_id

Site ID, or null for the current site.

Source Source

File: wp-includes/link-template.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Advertisement

Leave a Reply