Filters the title tag content for an admin page.
Parameters
$admin_titlestring- The page title, with extra context added.
$titlestring- 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_filtershook with multiple conditions. Theadmin_titlefilter allows you to modify the title displayed in the admin area based on different criteria.