WordPress at Your Fingertips
function is not described

WC_Legacy_Webhook::__isset() public WC 1.0

Magic __isset method for backwards compatibility. Legacy properties which could be accessed directly in the past.

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

No Hooks.

Return

true|false.

Usage

$WC_Legacy_Webhook = new WC_Legacy_Webhook();
$WC_Legacy_Webhook->__isset( $key );
$key(string) (required)
Item to check.

Code of WC_Legacy_Webhook::__isset() WC 5.6.0

public function __isset( $key ) {
	$legacy_keys = array(
		'id',
		'status',
		'post_data',
		'delivery_url',
		'secret',
		'topic',
		'hooks',
		'resource',
		'event',
		'failure_count',
		'api_version',
	);

	if ( in_array( $key, $legacy_keys, true ) ) {
		return true;
	}

	return false;
}