Automattic\WooCommerce\StoreApi\Routes\V1\Agentic
CheckoutSessions::get_args
Get method arguments for this REST route.
Method of the class: CheckoutSessions{}
No Hooks.
Returns
Array. An array of endpoints.
Usage
$CheckoutSessions = new CheckoutSessions(); $CheckoutSessions->get_args();
CheckoutSessions::get_args() CheckoutSessions::get args code WC 10.7.0
public function get_args() {
return [
[
'methods' => \WP_REST_Server::CREATABLE,
'callback' => [ $this, 'get_response' ],
'permission_callback' => [ $this, 'is_authorized' ],
'args' => $this->get_create_params(),
],
'schema' => [ $this->schema, 'get_public_item_schema' ],
];
}