rss_tag_pre

This action is documented in wp-includes/feed-rss2.php.

Description

do_action( 'rss_tag_pre', (string) $atom_comments ); 

Parameters (1)

0. $atom_comments (string) => 'atom-comments'
The atom comments.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'rss_tag_pre', $atom_comments ); 
The following example is for adding a hook callback.
  1. // define the rss_tag_pre callback 
  2. function action_rss_tag_pre( $atom_comments ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'rss_tag_pre', 'action_rss_tag_pre', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'rss_tag_pre', 'action_rss_tag_pre', 10, 1 ); 

Defined (5)

The action is defined in the following location(s).

/wp-includes/feed-atom-comments.php  
  1. do_action( 'rss_tag_pre', 'atom-comments' ); 
/wp-includes/feed-atom.php  
  1. do_action( 'rss_tag_pre', 'atom' ); 
/wp-includes/feed-rdf.php  
  1. do_action( 'rss_tag_pre', 'rdf' ); 
/wp-includes/feed-rss2-comments.php  
  1. do_action( 'rss_tag_pre', 'rss2-comments' ); 
/wp-includes/feed-rss2.php  
  1. do_action( 'rss_tag_pre', 'rss2' );