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



single_post_title › WordPress Filter Hooks

Since0.71
Deprecatedn/a
apply_filters( 'single_post_title', $_post->post_title, $_post )
Parameters: (2)
  • (string) $_post_title The single post page title.
    Required: Yes
  • (WP_Post) $_post The current post.
    Required: Yes
Defined at:
Codex:

Filters the page title for a single post.





Source

$title = apply_filters( 'single_post_title', $_post->post_title, $_post );