WC_Checkout::__isset( string $key )
See if variable is set. Used to support legacy public variables which are no longer defined.
Description Description
Parameters Parameters
- $key
-
(Required) Key.
Return Return
(bool)
Source Source
File: includes/class-wc-checkout.php
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
);
}