atom_ns
Fires at end of the Atom feed root to add namespaces.
Usage
add_action( 'atom_ns', 'wp_kama_atom_ns_action' );
/**
* Function for `atom_ns` action-hook.
*
* @return void
*/
function wp_kama_atom_ns_action(){
// action...
}Changelog
| Since 2.0.0 | Introduced. |
Where the hook is called
In file: /wp-includes/feed-atom.php
wp-includes/feed-atom.php 31
do_action( 'atom_ns' );
wp-includes/feed-atom-comments.php 20
do_action( 'atom_ns' );