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



private_title_format › WordPress过滤钩子

Since2.8.0
已弃用n/a
› apply_filters( 'private_title_format', $prepend, $post )
参数: (2)
  • () prepend Text displayed before the post title. Default 'Private: %s'.
    Required: Yes
  • () post Current post object.
    Required: Yes
定义在:
文档:

Filters the text prepended to the post title of private posts.

The filter is only applied on the front end.




源码

$private_title_format = apply_filters( 'private_title_format', $prepend, $post );