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.
Source
$admin_title = apply_filters( 'admin_title', $admin_title, $title );
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |
How to customize the WordPress admin title using the
apply_filters
hook with multiple conditions. Theadmin_title
filter allows you to modify the title displayed in the admin area based on different criteria.