Automattic\WooCommerce\Internal\RestApi\Routes\V4\Settings\Account
Controller::get_endpoint_args_for_item_schema
Get the endpoint args for item schema.
Method of the class: Controller{}
No Hooks.
Returns
Array. Endpoint arguments.
Usage
$Controller = new Controller(); $Controller->get_endpoint_args_for_item_schema( $method ): array;
- $method(string)
- HTTP method of the request.
Default: WP_REST_Server::CREATABLE
Controller::get_endpoint_args_for_item_schema() Controller::get endpoint args for item schema code WC 10.4.3
public function get_endpoint_args_for_item_schema( $method = WP_REST_Server::CREATABLE ): array {
return rest_get_endpoint_args_for_schema( $this->get_item_schema(), $method );
}