WC_Product_Download::offsetGet()publicWC 1.0ReturnTypeWillChange

OffsetGet.

Метод класса: WC_Product_Download{}

Хуков нет.

Возвращает

Разное.

Использование

$WC_Product_Download = new WC_Product_Download();
$WC_Product_Download->offsetGet( $offset );
$offset(строка) (обязательный)
Offset.

Код WC_Product_Download::offsetGet() WC 8.6.1

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