apply_filters( 'protected_title_format', string $prepend , WP_Post $post )
Filters the text prepended to the post title for protected posts.
Description
The filter is only applied on the front end.
Parameters
- $prepend
-
Text displayed before the post title. Default 'Protected: %s'.
- $post
-
Current post object.
Source
Changelog
Version | Description |
---|---|
WP-2.8.0 | Introduced. |