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



wp_title › WordPress过滤钩子

Since2.0.0
已弃用n/a
apply_filters( 'wp_title', $title, $sep, $seplocation )
参数: (3)
  • (string) $title Page title.
    Required: Yes
  • (string) $sep Title separator.
    Required: Yes
  • (string) $seplocation Location of the separator (either 'left' or 'right').
    Required: Yes
定义在:
文档:

Filters the text of the page title.





源码

$title = apply_filters( 'wp_title', $title, $sep, $seplocation );