/**
* Fires at the end of the RSS root to add namespaces.
*
* @since 2.0.0
*/
do_action( 'rss2_ns'
);
?>
>
<channel>
<title><?php
wp_title_rss(); ?></title>
<atom:link href="<?php
self_link(); ?>" rel="self" type="application/rss+xml" />
<link><?php
bloginfo_rss( 'url'
); ?></link>
<description><?php
bloginfo_rss( 'description'
); ?></description>
<lastBuildDate><?php
echo get_feed_build_date( 'r'
); ?></lastBuildDate>
<language><?php
bloginfo_rss( 'language'
); ?></language>
<sy:updatePeriod>
<?php
$duration = 'hourly';
/**
* Filters how often to update the RSS feed.
*
* @since 2.1.0
*
* @param string $duration The update period. Accepts 'hourly', 'daily', 'weekly', 'monthly',
* 'yearly'. Default 'hourly'.
*/