jetpack_relatedposts_filter_headline, $this->get_headline(

jetpack_relatedposts_filter_headline, $this->get_headline(

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jetpack_relatedposts_filter_headline, $this->get_headline(') is found 2 times:

  • /modules/related-posts/jetpack-related-posts.php line 264
    			'displayContext'    => isset( $rp_settings['show_context'] ) && $rp_settings['show_context'],
    			'postLayout'        => $rp_settings['layout'] ?? 'grid',
    			'postsToShow'       => $rp_settings['size'] ?? 3,
    			/** This filter is already documented in modules/related-posts/jetpack-related-posts.php */
    			'headline'          => apply_filters( 'jetpack_relatedposts_filter_headline', $this->get_headline() ),
    			'isServerRendered'  => true,
    		);
    
    		return $this->render_block( $block_rp_settings, '' );
    	}
    
    
  • /modules/related-posts/jetpack-related-posts.php line 305
    		 * @since 3.0.0
    		 *
    		 * @param string $headline Related Posts heading.
    		 */
    		$headline = apply_filters( 'jetpack_relatedposts_filter_headline', $this->get_headline() );
    
    		if ( $this->previous_post_id ) {
    			$exclude = "data-exclude='{$this->previous_post_id}'";
    		} else {
    			$exclude = '';
    		}