Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: atom_author

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
52                <?php $author_url = get_the_author_meta('url'); if ( !empty($author_url) ) : ?>
53                <uri><?php the_author_meta('url')?></uri>
54                <?php endif;
55
56                /**
57                 * Fires at the end of each Atom feed author entry.
58                 *
59                 * @since 3.2.0
60                 */
61                do_action( 'atom_author' );
62           ?>
63           </author>
64           <title type="<?php html_type_rss(); ?>"><![CDATA[<?php the_title_rss() ?>]]></title>
65           <link rel="alternate" type="<?php bloginfo_rss('html_type'); ?>" href="<?php the_permalink_rss() ?>" />
66           <id><?php the_guid() ; ?></id>
67           <updated><?php echo get_post_modified_time('Y-m-d\TH:i:s\Z', true); ?></updated>
68           <published><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></published>
69           <?php the_category_rss('atom') ?>
70           <summary type="<?php html_type_rss(); ?>"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary>