rss2_comments_ns
Fires at the end of the RSS root to add namespaces.
Использование
add_action( 'rss2_comments_ns', 'wp_kama_rss2_comments_ns_action' ); /** * Function for `rss2_comments_ns` action-hook. * * @return void */ function wp_kama_rss2_comments_ns_action(){ // action... }
Список изменений
С версии 2.8.0 | Введена. |
Где вызывается хук
В файле: /wp-includes/feed-rss2-comments.php
rss2_comments_ns
wp-includes/feed-rss2-comments.php 31
do_action( 'rss2_comments_ns' );