W3cubDocs

/WordPress

apply_filters( 'single_post_title', string $_post_title, WP_Post $_post )

Filters the page title for a single post.

Parameters

$_post_title

(string) The single post page title.

$_post

(WP_Post) The current post.

Source

File: wp-includes/general-template.php

View on Trac

Changelog

Version Description
0.71 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/single_post_title