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