WC_Countries::__get() public WC 1.0
Auto-load in-accessible properties on demand.
{} Это метод класса: WC_Countries{}
Хуков нет.
Возвращает
Разное.
Использование
$WC_Countries = new WC_Countries(); $WC_Countries->__get( $key );
- $key(разное) (обязательный)
- Key.
Код WC_Countries::__get() WC Countries:: get WC 5.0.0
public function __get( $key ) {
if ( 'countries' === $key ) {
return $this->get_countries();
} elseif ( 'states' === $key ) {
return $this->get_states();
}
}