wp_rest_search_controller-get_collection_params

method