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

(string) The complete admin area URL including scheme and path.

$path

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

$blog_id

(int|null) 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.