apply_filters( 'bp_has_media', bool $value, string $media_template, array $r )

Filters whether or not there are media items to display.

Description

Parameters

$value

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

$media_template

(string) Current media template being used.

$r

(array) Array of arguments passed into the BP_Media_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.