WC_Checkout::__isset()
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() WC Checkout:: isset code WC 9.7.1
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 ); }