Action hook 'atom_comments_ns'

in WP Core File wp-includes/feed-atom-comments.php at line 27

View Source

atom_comments_ns

Action Hook
Description
Fires inside the feed tag in the Atom comment feed.

Hook Information

File Location wp-includes/feed-atom-comments.php View on GitHub
Hook Type Action
Line Number 27

Hook Parameters

This hook doesn't accept any parameters.

Usage Examples

Basic Usage
<?php
// Hook into atom_comments_ns
add_action('atom_comments_ns', 'my_custom_function');

function my_custom_function() {
    // Your custom code here
}

Source Code Context

wp-includes/feed-atom-comments.php:27 - How this hook is used in WordPress core
<?php
  22  		/**
  23  		 * Fires inside the feed tag in the Atom comment feed.
  24  		 *
  25  		 * @since 2.8.0
  26  		 */
  27  		do_action( 'atom_comments_ns' );
  28  	?>
  29  >
  30  	<title type="text">
  31  	<?php
  32  	if ( is_singular() ) {

PHP Documentation

<?php
/**
		 * Fires inside the feed tag in the Atom comment feed.
		 *
		 * @since 2.8.0
		 */
Quick Info
  • Hook Type: Action
  • Parameters: 0
  • File: wp-includes/feed-atom-comments.php
Related Hooks

Related hooks will be displayed here in future updates.