atom_ns

atom_ns

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.4.3

do_action('atom_ns') is found 2 times:

  • /wp-includes/feed-atom-comments.php line 20

    xml:lang=”
    xmlns:thr=”http://purl.org/syndication/thread/1.0″

  • /wp-includes/feed-atom.php line 26
    	 * Fires at end of the Atom feed root to add namespaces.
    	 *
    	 * @since 2.0.0
    	 */
    	do_action( 'atom_ns' );
    	?>
    >
    	<title type="text"><?php wp_title_rss(); ?></title>
    	<subtitle type="text"><?php bloginfo_rss( 'description' ); ?></subtitle>
    
    	<updated><?php echo get_feed_build_date( 'Y-m-d\TH:i:s\Z' ); ?></updated>
    

See this hook used in plugins: