bp_plural_labels_array()

Get all plural labels.

Description

Return

(type) array

Source

File: bp-members/bp-members-functions.php

function bp_plural_labels_array() {
	$member_types = buddypress()->members->types;
	$user_ids = array();

	foreach ($member_types as $key=>$member_type) {
		$user_ids[$key] = $member_type->labels['name'];
	}

	return $user_ids;

}

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.