bp_activity_favorites_feed_head

  • do_action('bp_activity_favorites_feed_head')

    Source Reference:

    • <channel>
      	<title><?php bp_site_name() ?> | <?php echo $bp->displayed_user->fullname; ?> | <?php _e( 'Favorite Activity', 'buddypress' ) ?></title>
      	<atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" />
      	<link><?php echo home_url( bp_get_activity_root_slug() . '/#my-favorites/' ) ?></link>
      	<description><?php echo $bp->displayed_user->fullname; ?> - <?php _e( 'Favorite Activity', 'buddypress' ) ?></description>
      	<pubDate><?php echo mysql2date('D, d M Y H:i:s O', bp_activity_get_last_updated(), false); ?></pubDate>
      	<generator>http://buddypress.org/?v=<?php echo BP_VERSION ?></generator>
      	<language><?php echo get_option('rss_language'); ?></language>
      
      	<?php do_action('bp_activity_favorites_feed_head'); ?>
      
      	<?php
      		$favs = bp_activity_get_user_favorites( $bp->displayed_user->id );
      		$fav_ids = implode( ',', (array)$favs );
      	?>
      
      	<?php if ( bp_has_activities( 'include=' . $fav_ids . '&max=50&display_comments=stream' ) ) : ?>
      		<?php while ( bp_activities() ) : bp_the_activity(); ?>
      
      			<item>
      

Comments are closed.