On this page
apply_filters( 'single_post_title', string $_post_title, WP_Post $_post )
Filters the page title for a single post.
Parameters
$_post_titlestring-
The single post page title.
$_postWP_Post-
The current post.
Source
File: wp-includes/general-template.php. View all references
$title = apply_filters( 'single_post_title', $_post->post_title, $_post );
Related
Used By
| Used By | Description |
|---|---|
| single_post_title() wp-includes/general-template.php | Displays or retrieves page title for post. |
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