WordPress at Your Fingertips
function is not described

WC_Product_Download::offsetGet() public WC 1.0

OffsetGet.

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

No Hooks.

Return

Mixed.

Usage

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

Code of WC_Product_Download::offsetGet() WC 5.7.1

public function offsetGet( $offset ) {
	switch ( $offset ) {
		default:
			if ( is_callable( array( $this, "get_$offset" ) ) ) {
				return $this->{"get_$offset"}();
			}
			break;
	}
	return '';
}