WordPress at Your Fingertips
function is not described

WC_Legacy_Customer::__isset() public WC 1.0

__isset legacy.

{} It's a method of the class: WC_Legacy_Customer{}

No Hooks.

Return

true|false.

Usage

$WC_Legacy_Customer = new WC_Legacy_Customer();
$WC_Legacy_Customer->__isset( $key );
$key(mixed) (required)
-

Code of WC_Legacy_Customer::__isset() WC 5.6.0

public function __isset( $key ) {
	$legacy_keys = array(
		'id',
		'country',
		'state',
		'postcode',
		'city',
		'address_1',
		'address',
		'address_2',
		'shipping_country',
		'shipping_state',
		'shipping_postcode',
		'shipping_city',
		'shipping_address_1',
		'shipping_address',
		'shipping_address_2',
		'is_vat_exempt',
		'calculated_shipping',
	);
	$key = $this->filter_legacy_key( $key );
	return in_array( $key, $legacy_keys );
}