apply_filters( 'bp_has_album', bool $value, string $media_album_template, array $r )

Filters whether or not there are media albums to display.

Description

Parameters

$value

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

$media_album_template

(string) Current media album template being used.

$r

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

Source

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

Changelog

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