BP_Activity_Feed::setup_hooks()

Setup some hooks that are used in the feed.


Description Description

Currently, these hooks are used to maintain backwards compatibility with the RSS feeds previous to BP 1.8.


Source 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' ) );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.