bp_activity_remove_platform_updates( $activity_object )

Do not add the activity if uncheck the options from the backend BuddyBoss > Settings > Activity > Posts in Activity Feed >BuddyBoss Platform

Description

Parameters

$activity_object

(Required)

Source

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

function bp_activity_remove_platform_updates( $activity_object ) {

	if ( false === bp_platform_is_feed_enable( 'bp-feed-platform-'.$activity_object->type ) ) {
		$activity_object->type = false;
	}
}

Changelog

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