wpseek.com
A WordPress-centric search engine for devs and theme authors



enter_title_here › WordPress Filter Hooks

Since3.1.0
Deprecatedn/a
apply_filters( 'enter_title_here', __( 'Add title' )
Parameters: (2)
  • (string) $text Placeholder text. Default 'Add title'.
    Required: Yes
  • (WP_Post) $post Post object.
    Required: Yes
Defined at:
Codex:

Filters the title field placeholder text.





Source

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