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