bp_admin_repair_count_members()

Recalculate the total number of active site members.

Description

Source

File: bp-core/admin/bp-core-admin-tools.php

function bp_admin_repair_count_members() {
	$statement = __( 'Counting the number of active members on the site… %s', 'buddyboss' );
	delete_transient( 'bp_active_member_count' );
	bp_core_get_active_member_count();

	return array( 0, sprintf( $statement, __( 'Complete!', 'buddyboss' ) ) );
}

Changelog

Changelog
Version Description
BuddyPress 2.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.