commentsrss2_head хук-событиеWP 2.3.0

Fires at the end of the RSS2 comment feed header.

Использование

add_action( 'commentsrss2_head', 'wp_kama_commentsrss2_head_action' );

/**
 * Function for `commentsrss2_head` action-hook.
 * 
 * @return void
 */
function wp_kama_commentsrss2_head_action(){

	// action...
}

Список изменений

С версии 2.3.0 Введена.

Где вызывается хук

В файле: /wp-includes/feed-rss2-comments.php
commentsrss2_head
wp-includes/feed-rss2-comments.php 71
do_action( 'commentsrss2_head' );

Где используется хук в WordPress

wp-includes/default-filters.php 379
add_action( $action, 'the_generator' );