single_post_title

single_post_title

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

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('single_post_title') is found 1 times:

  • /wp-includes/general-template.php line 1490
    	 *
    	 * @param string  $_post_title The single post page title.
    	 * @param WP_Post $_post       The current post.
    	 */
    	$title = apply_filters( 'single_post_title', $_post->post_title, $_post );
    	if ( $display ) {
    		echo $prefix . $title;
    	} else {
    		return $prefix . $title;
    	}
    }