BP_REST_Settings_Endpoint::get_collection_params()
Get the query params for collections.
Description
Return
(array)
Source
File: bp-core/classes/class-bp-rest-settings-endpoint.php
204 205 206 207 208 209 210 211 212 213 | public function get_collection_params() { $params [ 'context' ][ 'default' ] = 'view' ; /** * Filters the collection query params. * * @param array $params Query params. */ return apply_filters( 'bp_rest_settings_collection_params' , $params ); } |
Changelog
Version | Description |
---|---|
0.1.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.