apply_filters( 'bp_has_activities', bool $value, string $activities_template, array $r )

Filters whether or not there are activity items to display.

Description

Parameters

$value

(bool) Whether or not there are activity items to display.

$activities_template

(string) Current activities template being used.

$r

(array) Array of arguments passed into the BP_Activity_Template class.

Source

File: bp-activity/bp-activity-template.php

Changelog

Changelog
Version Description
BuddyPress 1.1.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.