BP_Groups_Template::has_groups()

Whether there are groups available in the loop.


Description Description

See also See also


Top ↑

Return Return

(bool) True if there are items in the loop, otherwise false.


Top ↑

Source Source

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

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

		return false;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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