wp_title_parts WordPress Filter Hook
The wp_title_parts hook is a great way to change the way your title appears on your website. This hook allows you to change the order of the title parts, as well as add and remove parts from the title. You can also use this hook to change the separator between the title parts.
apply_filters( 'wp_title_parts', string[] $title_array ) #
Filters the parts of the page title.
Parameters
- $title_array
(string[])Array of parts of the page title.
Source
Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |