WC_Customer_Download::__get()publicWC 1.0

Magic __get method for backwards compatibility. Maps legacy vars to new getters.

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

Хуков нет.

Возвращает

Разное.

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

$WC_Customer_Download = new WC_Customer_Download();
$WC_Customer_Download->__get( $key );
$key(строка) (обязательный)
Key name.

Код WC_Customer_Download::__get() WC 8.7.0

public function __get( $key ) {
	if ( is_callable( array( $this, "get_$key" ) ) ) {
		return $this->{"get_$key"}( '' );
	}
}