atom_comments_ns
Fires inside the feed tag in the Atom comment feed.
Description
do_action( 'atom_comments_ns' );
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'atom_comments_ns' );
- The following example is for adding a hook callback.
- // define the atom_comments_ns callback
- function action_atom_comments_ns( ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'atom_comments_ns', 'action_atom_comments_ns', 10, 0 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'atom_comments_ns', 'action_atom_comments_ns', 10, 0 );
Defined (1)
The action is defined in the following location(s).
- /wp-includes/feed-atom-comments.php
- do_action( 'atom_comments_ns' );