single_post_title

single_post_title

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('single_post_title') is found 1 times:

  • /wp-includes/general-template.php line 1499
    1495
    1496
    1497
    1498
    1499
    1500
    1501
    1502
    1503
    1504
    1505
         *
         * @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;
        }
    }