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.
Contents
Parameters
- $admin_title
(string)The page title, with extra context added.
- $title
(string)The original page title.
Source
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |