WP_REST_Posts_Controller::get_collection_params

SummerySummery

Retrieves the query params for the posts collection.

Syntax

WP_REST_Posts_Controller::get_collection_params()

ReturnReturn

(array) Collection parameters.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
4.7.0 Introduced.
Scroll to Top