apply_filters( 'document_title_parts', array $title )

Filters the parts of the document title.


Parameters

$title

The document title parts.<br>

  • 'title'
    (string) Title of the viewed page.<br>
  • 'page'
    (string) Optional. Page number if paginated.<br>
  • 'tagline'
    (string) Optional. Site description when on home page.<br>
  • 'site'
    (string) Optional. Site title when not on home page.<br>


Source

File: wp-includes/general-template.php

View on GitHub



Changelog

Changelog
Version Description
4.4.0 Introduced.