wpseek.com
WordPress开发者和主题制作者的搜索引擎



document_title_parts › WordPress过滤钩子

Since4.4.0
已弃用n/a
apply_filters( 'document_title_parts', $title )
参数:
  • (array) $title { The document title parts. @type string $title Title of the viewed page. @type string $page Optional. Page number if paginated. @type string $tagline Optional. Site description when on home page. @type string $site Optional. Site title when not on home page. }
    Required: Yes
定义在:
文档:

Filters the parts of the document title.





源码

$title = apply_filters( 'document_title_parts', $title );