WordPress at Your Fingertips
function is not described

WC_Product_Download::offsetExists() public WC 1.0

OffsetExists.

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

No Hooks.

Return

true|false.

Usage

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

Code of WC_Product_Download::offsetExists() WC 5.6.0

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