atom_author
Action HookDescription
Fires at the end of each Atom feed author entry.Hook Information
File Location |
wp-includes/feed-atom.php
View on GitHub
|
Hook Type | Action |
Line Number | 70 |
Hook Parameters
This hook doesn't accept any parameters.
Usage Examples
Basic Usage
<?php
// Hook into atom_author
add_action('atom_author', 'my_custom_function');
function my_custom_function() {
// Your custom code here
}
Source Code Context
wp-includes/feed-atom.php:70
- How this hook is used in WordPress core
<?php
65 /**
66 * Fires at the end of each Atom feed author entry.
67 *
68 * @since 3.2.0
69 */
70 do_action( 'atom_author' );
71 ?>
72 </author>
73
74 <title type="<?php html_type_rss(); ?>"><![CDATA[<?php the_title_rss(); ?>]]></title>
75 <link rel="alternate" type="<?php bloginfo_rss( 'html_type' ); ?>" href="<?php the_permalink_rss(); ?>" />
PHP Documentation
<?php
/**
* Fires at the end of each Atom feed author entry.
*
* @since 3.2.0
*/
Quick Info
- Hook Type: Action
- Parameters: 0
- File: wp-includes/feed-atom.php
Related Hooks
Related hooks will be displayed here in future updates.