the_title, $post_title, $post_id

the_title, $post_title, $post_id

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('the_title, $post_title, $post_id') is found 1 times:

  • /modules/related-posts/jetpack-related-posts.php line 1414
    	protected function get_title( $post_title, $post_content, $post_id ) {
    		if ( ! empty( $post_title ) ) {
    			return wp_strip_all_tags(
    				/** This filter is documented in core/src/wp-includes/post-template.php */
    				apply_filters( 'the_title', $post_title, $post_id )
    			);
    		}
    
    		$post_title = wp_trim_words( wp_strip_all_tags( strip_shortcodes( $post_content ) ), 5, '…' );
    		if ( ! empty( $post_title ) ) {
    			return $post_title;