BP_REST_Document_Endpoint::bp_rest_activity_query_arguments( array $args, string $method )
Filter Query argument for the activity for document support.
Description
Parameters
- $args
-
(Required) Query arguments.
- $method
-
(Required) HTTP method of the request.
Return
(array)
Source
File: bp-document/classes/class-bp-rest-document-endpoint.php
2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 | public function bp_rest_activity_query_arguments( $args , $method ) { $args [ '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 $args ; } |
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.