apply_filters( ‘single_post_title’, string $_post_title, WP_Post $_post )

In this article

Filters the page title for a single post.

Parameters

$_post_titlestring
The single post page title.
$_postWP_Post
The current post.

Source

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

Changelog

VersionDescription
0.71Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.