rss2_head
Fires at the end of the RSS2 Feed Header.
Использование
add_action( 'rss2_head', 'wp_kama_rss2_head_action' ); /** * Function for `rss2_head` action-hook. * * @return void */ function wp_kama_rss2_head_action(){ // action... }
Список изменений
С версии 2.0.0 | Введена. |
Где вызывается хук
В файле: /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' );
Где используется хук в WordPress
wp-includes/default-filters.php 383
add_action( $action, 'the_generator' );
wp-includes/default-filters.php 388
add_action( 'rss2_head', 'rss2_site_icon' );