private_title_format

private_title_format

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('private_title_format') is found 1 times:

  • /wp-includes/post-template.php line 160
    			 * @param string  $prepend Text displayed before the post title.
    			 *                         Default 'Private: %s'.
    			 * @param WP_Post $post    Current post object.
    			 */
    			$private_title_format = apply_filters( 'private_title_format', $prepend, $post );
    
    			$post_title = sprintf( $private_title_format, $post_title );
    		}
    	}
    
    	/**