rss2_head

rss2_head

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('rss2_head') is found 2 times:

  • /wp-admin/includes/export.php line 576

    ?>

  • /wp-includes/feed-rss2.php line 83
    	 * Fires at the end of the RSS2 Feed Header.
    	 *
    	 * @since 2.0.0
    	 */
    	do_action( 'rss2_head' );
    
    	while ( have_posts() ) :
    		the_post();
    		?>
    	<item>
    		<title><?php the_title_rss(); ?></title>
    

See this hook used in plugins: