BP_Activity_Feed::setup_hooks()
Setup some hooks that are used in the feed.
Description
Currently, these hooks are used to maintain backwards compatibility with the RSS feeds previous to BP 1.8.
Source
File: bp-activity/classes/class-bp-activity-feed.php
protected function setup_hooks() { add_action( 'bp_activity_feed_rss_attributes', array( $this, 'backpat_rss_attributes' ) ); add_action( 'bp_activity_feed_channel_elements', array( $this, 'backpat_channel_elements' ) ); add_action( 'bp_activity_feed_item_elements', array( $this, 'backpat_item_elements' ) ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.8.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.