WordPress at a glance
filter is not described

private_title_format filter-hook . WP 2.8.0

Filters the text prepended to the post title of private posts.

The filter is only applied on the front end.


add_filter( 'private_title_format', 'filter_function_name_7470', 10, 2 );
function filter_function_name_7470( $prepend, $post ){
	// filter...

	return $prepend;
Text displayed before the post title.
Default: 'Private: %s'
Current post object.

Where the hook is called

wp-includes/post-template.php 152
$private_title_format = apply_filters( 'private_title_format', __( 'Private: %s' ), $post );

Where the hook is used (in WP core)

Использование не найдено.