BP_REST_XProfile_Search_Form_Fields_Endpoint::get_collection_params()
Get the query params for the XProfile search form fields.
Description
Return
(array)
Source
File: bp-xprofile/classes/class-bp-rest-xprofile-search-form-fields-endpoint.php
public function get_collection_params() { $params = array( 'form_id' => array( 'description' => __( 'ID of the profile search form.', 'buddyboss' ), 'type' => 'string', 'validate_callback' => 'rest_validate_request_arg', ), ); /** * Filters the collection query params. * * @param array $params Query params. */ return apply_filters( 'bp_rest_xprofile_search_form_fields_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.