apply_filters( 'bp_has_document', bool $value, string $document_template, array $r )

Filters whether or not there are document items to display.

Description

Parameters

$value

Whether or not there are document items to display.

$document_template

Current document template being used.

$r

Array of arguments passed into the BP_Document_Template class.

Source

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

Changelog

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