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



enter_title_here › WordPress过滤钩子

Since3.1.0
已弃用n/a
apply_filters( 'enter_title_here', __( 'Add title' )
参数: (2)
  • (string) $text Placeholder text. Default 'Add title'.
    Required: Yes
  • (WP_Post) $post Post object.
    Required: Yes
定义在:
文档:

Filters the title field placeholder text.





源码

$title_placeholder = apply_filters( 'enter_title_here', __( 'Add title' ), $post );