Determine whether the displayed user has no groups.

Description Description

No longer used in BuddyPress.

Top ↑

Return Return

(bool) True if the displayed user has no groups, otherwise false.

Source Source

File: bp-groups/bp-groups-template.php

function bp_group_show_no_groups_message() {
	if ( !groups_total_groups_for_user( bp_displayed_user_id() ) ) {
		return true;

	return false;

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.