BP_Activity_Template::has_activities()

Whether there are activity items 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-activity/classes/class-bp-activity-template.php

	function has_activities() {
		if ( $this->activity_count ) {
			return true;
		}

		return false;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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