Automattic\WooCommerce\Blocks\Domain\Services\CheckoutFieldsSchema

DocumentObject::get_checkout_dataprotectedWC 1.0

Get checkout data.

Method of the class: DocumentObject{}

No Hooks.

Returns

Array. Checkout data context.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_checkout_data();

DocumentObject::get_checkout_data() code WC 9.9.4

protected function get_checkout_data() {
	return $this->request_data['checkout'] ?? [];
}