WC_REST_Controller::get_endpoint_args_for_item_schema( string $method = WP_REST_Server::CREATABLE )

Compatibility functions for WP 5.5, since custom types are not supported anymore.


Description Description

See @link https://core.trac.wordpress.org/changeset/48306


Parameters Parameters

$method

(Optional) HTTP method of the request.

Default value: WP_REST_Server::CREATABLE


Top ↑

Return Return

(array) Endpoint arguments.


Top ↑

Source Source

File: includes/rest-api/Controllers/Version3/class-wc-rest-controller.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.