WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about protected_title_format

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/post-template.php apply_filters 140 /**
* Filters the text prepended to the post title for protected posts.
*
* The filter is only applied on the front end.
*
* @since 2.8.0
*
* @param string $prepend Text displayed before the post title.
* Default 'Protected: %s'.
* @param WP_Post $post Current post object.
*/

Hook Parameters

Parameter Type Name Description
string $prepend Text displayed before the post title.
WP_Post $post Current post object.