bp_core_fix_forums_subscriptions_tab( $passed )

Fix forums subscription tab in user’s profile.

Description

Parameters

$passed

(Required)

Return

(bool)

Source

File: bp-core/compatibility/bp-incompatible-plugins-helper.php

function bp_core_fix_forums_subscriptions_tab( $passed ) {
	$bp_current_component = bp_current_component();
	$bp_current_action    = bp_current_action();

	if ( 'forums' === $bp_current_component && $bp_current_action === bbp_get_user_subscriptions_slug() ) {
		$passed = false;
	}

	return $passed;
}

Changelog

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