bp_fixed_all_member_type_count( $count )

Fix all member count.

Description

Parameters

$count

(Required)

Return

(int)

Source

File: bp-core/deprecated/buddyboss/1.2.9.php

function bp_fixed_all_member_type_count( $count ){
	$exclude_user_ids = bp_get_users_of_removed_member_types();
	if( isset($exclude_user_ids) && !empty($exclude_user_ids) ){
		$count = $count - count($exclude_user_ids);
	}
	return $count;
}

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.