WordPress at a glance
filter is not described

document_title_parts filter-hook . WP 4.4.0

Filters the parts of the document title.


add_filter( 'document_title_parts', 'filter_function_name_6364' );
function filter_function_name_6364( $title ){
	// filter...

	return $title;

The document title parts.

  • $title (string)
    Title of the viewed page.

  • $page (string)
    Optional. Page number if paginated.

  • $tagline (string)
    Optional. Site description when on home page.

  • $site (string)
    Optional. Site title when not on home page.

Where the hook is called

wp-includes/general-template.php 1132
$title = apply_filters( 'document_title_parts', $title );

Where the hook is used (in WP core)

Использование не найдено.