BP_REST_Document_Endpoint::bp_rest_message_query_arguments( array $params )
Filter Query argument for the Messages for document support.
Description
Parameters
- $params
-
(array) (Required) Query arguments.
Return
(array)
Source
File: bp-document/classes/class-bp-rest-document-endpoint.php
public function bp_rest_message_query_arguments( $params ) { $params['bp_documents'] = array( 'description' => __( 'Document specific IDs.', 'buddyboss' ), 'type' => 'array', 'items' => array( 'type' => 'integer' ), 'sanitize_callback' => 'wp_parse_id_list', 'validate_callback' => 'rest_validate_request_arg', ); return $params; }
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.