WordPress at Your Fingertips
function is not described

WC_Customer_Download::offsetExists() public WC 1.0

OffsetExists.

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

No Hooks.

Return

true|false.

Usage

$WC_Customer_Download = new WC_Customer_Download();
$WC_Customer_Download->offsetExists( $offset );
$offset(string) (required)
Offset.

Code of WC_Customer_Download::offsetExists() WC 5.7.0

public function offsetExists( $offset ) {
	return in_array( $offset, array_keys( $this->data ), true );
}