BP_Document_Folder_Template::has_folders()

Whether there are folder items available in the loop.

Description

See also

Return

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

Source

File: bp-document/classes/class-bp-document-folder-template.php

	function has_folders() {
		if ( $this->folder_count ) {
			return true;
		}

		return false;
	}

Changelog

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