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
Changelog
Version | Description |
---|---|
0.71 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/single_post_title