rss2_head
Fires at the end of the RSS2 Feed Header.
Usage
add_action( 'rss2_head', 'wp_kama_rss2_head_action' ); /** * Function for `rss2_head` action-hook. * * @return void */ function wp_kama_rss2_head_action(){ // action... }
Changelog
Since 2.0.0 | Introduced. |
Where the hook is called
In file: /wp-includes/feed-rss2.php
wp-includes/feed-rss2.php 83
do_action( 'rss2_head' );
wp-admin/includes/export.php 576
do_action( 'rss2_head' );
Where the hook is used in WordPress
wp-includes/default-filters.php 380
add_action( $action, 'the_generator' );
wp-includes/default-filters.php 385
add_action( 'rss2_head', 'rss2_site_icon' );