BP_Groups_Membership_Requests_Template::has_requests()

Whether or not there are requests to show.

Description

Return

(bool)

Source

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

	public function has_requests() {
		if ( ! empty( $this->request_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.