bp_activity_directory_page_content()

Function to add the content on top of activity listing

Description

Source

File: bp-activity/bp-activity-functions.php

function bp_activity_directory_page_content() {

	$page_ids = bp_core_get_directory_page_ids();

	if ( ! empty( $page_ids['activity'] ) ) {
		$activity_page_content = get_post_field( 'post_content', $page_ids['activity'] );
		echo apply_filters( 'the_content', $activity_page_content );
	}
}

Changelog

Changelog
Version Description
BuddyBoss 1.2.5 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.