Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: atom_head

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
16   xml:lang="<?php echo get_option('rss_language'); ?>"
17   <?php do_action('atom_ns'); ?>
18   >
19      <title><?php bloginfo_rss('name') ?></title>
20      <link rel="alternate" type="text/html" href="<?php bloginfo_rss('home') ?>" />
21      <tagline><?php bloginfo_rss("description") ?></tagline>
22      <modified><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_lastpostmodified('GMT'), false); ?></modified>
23      <copyright>Copyright <?php echo mysql2date('Y', get_lastpostdate('blog'), 0); ?></copyright>
24      <generator url="http://wordpress.org/" version="<?php bloginfo_rss('version'); ?>">WordPress</generator>
25      <?php do_action('atom_head'); ?>
26      <?php $items_count = 0; if ($posts) { foreach ($posts as $post) { start_wp(); ?>
27      <entry>
28             <author>
29                <name><?php the_author() ?></name>
30           </author>
31           <title type="text/html" mode="escaped"><![CDATA[<?php the_title_rss() ?>]]></title>
32           <link rel="alternate" type="text/html" href="<?php permalink_single_rss() ?>" />
33           <id><?php the_guid(); ?></id>
34           <modified><?php echo get_post_time('Y-m-d\TH:i:s\Z', true); ?></modified>