rcp_get_member_count()

This function has been deprecated. Use rcp_count_memberships() instead.

Returns the number of members with a certain status.

Parameters:

  • $status (string) - Status to count the members for (active, pending, free, cancelled, expired).