bp_activity_filter_document_scope( array $retval = array(), array $filter = array() )
Set up activity arguments for use with the ‘document’ scope.
Description
Parameters
- $retval
-
(Optional) Empty array by default.
Default value: array()
- $filter
-
(Optional) Current activity arguments.
Default value: array()
Return
(array) $retval
Source
File: bp-document/bp-document-filters.php
1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 | function bp_activity_filter_document_scope( $retval = array (), $filter = array () ) { $retval = array ( 'relation' => 'AND' , array ( 'column' => 'privacy' , 'value' => 'document' , 'compare' => '=' , ), array ( 'column' => 'hide_sitewide' , 'value' => 1, ), ); return $retval ; } |
Changelog
Version | Description |
---|---|
BuddyBoss 1.4.2 | 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.