BP_Document_Query::__construct( array $query = array() )
Constructor.
Description
Parameters
- $query
-
(Optional) Array of query clauses
Default value: array()
Source
File: bp-document/classes/class-bp-document-query.php
public function __construct( $query = array() ) { if ( ! is_array( $query ) ) { return; } $this->queries = $this->sanitize_query( $query ); }
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.