BP_Notifications_Template::has_notifications()

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

	public function has_notifications() {
		if ( $this->notification_count ) {
			return true;
		}

		return false;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.9.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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