ACF_Rest_Request::__get
Magic getter for accessing read-only properties. Should we ever need to enforce a getter method, we can do so here.
Метод класса: ACF_Rest_Request{}
Хуков нет.
Возвращает
string|null.
Использование
$ACF_Rest_Request = new ACF_Rest_Request(); $ACF_Rest_Request->__get( $name );
- $name(строка) (обязательный)
- The desired property name.
Код ACF_Rest_Request::__get() ACF Rest Request:: get ACF 6.8.8
public function __get( $name ) {
if ( in_array( $name, $this->readonly_props ) ) {
return $this->$name;
}
return null;
}