wp_title_parts filter-hook . WP 4.0.0
Filters the parts of the page title.
Usage
add_filter( 'wp_title_parts', 'filter_function_name_4845' ); function filter_function_name_4845( $title_array ){ // filter... return $title_array; }
- $title_array(string[])
- Array of parts of the page title.
Changelog
Since 4.0.0 | Introduced. |
Where the hook is called
wp_title_parts
wp-includes/general-template.php 1383
$title_array = apply_filters( 'wp_title_parts', explode( $t_sep, $title ) );