BP_XProfile_Data_Template::has_groups()

Whether or not the loop has field groups.

Description

Return

(bool)

Source

File: bp-xprofile/classes/class-bp-xprofile-data-template.php

	public function has_groups() {
		if ( ! empty( $this->group_count ) ) {
			return true;
		}

		return false;
	}

Changelog

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