Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: rss2_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
472           <?php wxr_term_name( $t );
473           wxr_term_description( $t );
474           wxr_term_meta( $t ); ?>
475      </wp:term>
476 <?php endforeach; ?>
477 <?php if ( 'all' == $args['content'] ) wxr_nav_menu_terms(); ?>
478
479      <?php
480      /** This action is documented in wp-includes/feed-rss2.php */
481      do_action( 'rss2_head' );
482      ?>
483
484 <?php if ( $post_ids ) {
485      /**
486       * @global WP_Query $wp_query
487       */
488      global $wp_query;
489
490      // Fake being in the loop.