admin_title WordPress Filter Hook

The admin_title hook allows you to modify the title that is displayed in the administration area for a particular post or page. This can be useful if you want to add a custom label or make other changes to the way the title is displayed.

apply_filters( 'admin_title', string $admin_title, string $title ) #

Filters the title tag content for an admin page.


Parameters

$admin_title

(string)The page title, with extra context added.

$title

(string)The original page title.


Top ↑

Source

File: wp-admin/admin-header.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
3.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.