Retrieves a collection of posts.
public get_items ( WP_REST_Request $request ) : WP_REST_Response | WP_Error | ||
$request | WP_REST_Request | Full details about the request. |
Результат | WP_REST_Response | WP_Error | Response object on success, or WP_Error object on failure. |