WC_Product_Download::offsetGet()publicWC 1.0ReturnTypeWillChange

OffsetGet.

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.

WC_Product_Download::offsetGet() code WC 7.7.0

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