WC_Checkout::__isset()publicWC 1.0

See if variable is set. Used to support legacy public variables which are no longer defined.

Method of the class: WC_Checkout{}

No Hooks.

Return

true|false.

Usage

$WC_Checkout = new WC_Checkout();
$WC_Checkout->__isset( $key );
$key(string) (required)
Key.

WC_Checkout::__isset() code WC 8.7.0

public function __isset( $key ) {
	return in_array(
		$key,
		array(
			'enable_signup',
			'enable_guest_checkout',
			'must_create_account',
			'checkout_fields',
			'posted',
			'shipping_method',
			'payment_method',
			'customer_id',
			'shipping_methods',
		),
		true
	);
}