Server IP : 172.67.158.161 / Your IP : 18.188.168.78 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/giankuin/khowordpress.com/wp-content/plugins/woocommerce/src/StoreApi/Schemas/V1/ |
Upload File : |
<?php namespace Automattic\WooCommerce\StoreApi\Schemas\V1; use Automattic\WooCommerce\StoreApi\SchemaController; use Automattic\WooCommerce\StoreApi\Payments\PaymentResult; use Automattic\WooCommerce\StoreApi\Schemas\ExtendSchema; /** * CheckoutOrderSchema class. */ class CheckoutOrderSchema extends CheckoutSchema { /** * The schema item name. * * @var string */ protected $title = 'checkout-order'; /** * The schema item identifier. * * @var string */ const IDENTIFIER = 'checkout-order'; /** * Checkout schema properties. * * @return array */ public function get_properties() { $parent_properties = parent::get_properties(); unset( $parent_properties['create_account'] ); return $parent_properties; } }