WP_REST_Attachments_Controller::get_collection_params

SummerySummery

Retrieves the query params for collections of attachments.

Syntax

WP_REST_Attachments_Controller::get_collection_params()

ReturnReturn

(array) Query parameters for the attachment collection as an array.

SourceSource

File: wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php


			

ChangelogChangelog

Changelog
Version Description
4.7.0 Introduced.
Scroll to Top