document_title_parts

最后更新于:2021-11-26 08:05:21

apply_filters( ‘document_title_parts’, array $title )

Filters the parts of the document title.

参数

$title

(array)
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.

源文件

文件: gc-includes/general-template.php

View on Trac