Automattic\WooCommerce\Internal\RestApi\Routes\V4\Settings\Account

Controller::get_endpoint_args_for_item_schemapublicWC 1.0

Get the endpoint args for item schema.

Метод класса: Controller{}

Хуков нет.

Возвращает

Массив. Endpoint arguments.

Использование

$Controller = new Controller();
$Controller->get_endpoint_args_for_item_schema( $method ): array;
$method(строка)
HTTP method of the request.
По умолчанию: WP_REST_Server::CREATABLE

Код Controller::get_endpoint_args_for_item_schema() WC 10.5.2

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 );
}