Filter hook 'protected_title_format'

in WP Core File wp-includes/post-template.php at line 141

Description

Filters the text prepended to the post title for protected posts. The filter is only applied on the front end.

Occurrences

Filename Line Number
wp-includes/post-template.php 141

Parameters

Type Name Description
string $prepend Text displayed before the post title. Default 'Protected: %s'.
WP_Post $post Current post object.

PHP Doc

/**
			 * 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.
			 */