rss2_ns action-hookWP 2.0.0

Fires at the end of the RSS root to add namespaces.

Usage

add_action( 'rss2_ns', 'wp_kama_rss2_ns_action' );

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

	// action...
}

Changelog

Since 2.0.0 Introduced.

Where the hook is called

In file: /wp-includes/feed-rss2.php
rss2_ns
wp-includes/feed-rss2.php 36
do_action( 'rss2_ns' );
wp-includes/feed-rss2-comments.php 22
do_action( 'rss2_ns' );

Where the hook is used in WordPress

Usage not found.