apply_filters( "bp_document_set_document_{$scope}_scope_args", array , array $r )

Plugins can hook here to set their document arguments for custom scopes.

Description

This is a dynamic filter based on the document scope. eg:

Parameters

Document query clauses

$r

Current activity arguments passed in BP_Document::get().

Source

File: bp-document/classes/class-bp-document.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.