Browse: Home / Classes / LD_REST_Assignments_Controller_V2 /

LD_REST_Assignments_Controller_V2::rest_collection_params_filter

LD_REST_Assignments_Controller_V2::rest_collection_params_filter( array $query_params,  string $post_type )

Add our collection parameters.


Description #

This is added only for GET/OPIONS Requests.


Parameters #

$query_params

(array) (Required) Quest params array.

$post_type

(string) (Required) Post type string.


Source #

File: includes/rest-api/v2/class-ld-rest-assignments-controller.php


Changelog #

Changelog
Version Description
3.3.0 Introduced.