wordpress / latest / hooks / single_post_title.html

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 all references

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

Used By

Used By Description

Changelog

Version Description
0.71 Introduced.

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