Filters the text prepended to the post title for protected posts.
The filter is only applied on the front end.
$prependstring
$postWP_Post
$protected_title_format = apply_filters( 'protected_title_format', $prepend, $post );
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/protected_title_format