wphooks.info - rss2_head

rss2_head

(trunk - 5.0-alpha-42177)

The hook occurs in the following 2 files

wp-includes/feed-rss2.php:
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
		 *                          of RSS updates within the update period. Default '1'.
		 */
		echo apply_filters( 'rss_update_frequency', $frequency );
	?></sy:updateFrequency>
	<?php
	/**
	 * Fires at the end of the RSS2 Feed Header.
	 *
	 * @since 2.0.0
	 */
	do_action( 'rss2_head');

	while( have_posts()) : the_post();
	?>
	<item>
		<title><?php the_title_rss() ?></title>
		<link><?php the_permalink_rss() ?></link>
<?php if ( get_comments_number() || comments_open() ) : ?>
		<comments><?php comments_link_feed(); ?></comments>
<?php endif; ?>
wp-admin/includes/export.php:
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
		<wp:term_parent><?php echo wxr_cdata( $t->parent ? $terms[$t->parent]->slug : '' ); ?></wp:term_parent>
		<?php wxr_term_name( $t );
		wxr_term_description( $t );
		wxr_term_meta( $t ); ?>
	</wp:term>
<?php endforeach; ?>
<?php if ( 'all' == $args['content'] ) wxr_nav_menu_terms(); ?>

	<?php
	/** This action is documented in wp-includes/feed-rss2.php */
	do_action( 'rss2_head' );
	?>

<?php if ( $post_ids ) {
	/**
	 * @global WP_Query $wp_query
	 */
	global $wp_query;

	// Fake being in the loop.