document_title_parts

Advertisement

Summery Summery

Filters the parts of the document title.

Syntax Syntax

apply_filters( 'document_title_parts', array $title )

Parameters Parameters

$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.

Source Source

File: wp-includes/general-template.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply