WC_Product_Download::offsetGet( string $offset )
OffsetGet.
Description Description
Parameters Parameters
- $offset
-
(Required) Offset.
Return Return
(mixed)
Source Source
File: includes/class-wc-product-download.php
public function offsetGet( $offset ) {
switch ( $offset ) {
default:
if ( is_callable( array( $this, "get_$offset" ) ) ) {
return $this->{"get_$offset"}();
}
break;
}
return '';
}