WP_List_Table::__get()publicWP 4.0.0

Make private properties readable for backward compatibility.

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

Хуков нет.

Возвращает

Разное. Property.

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

$WP_List_Table = new WP_List_Table();
$WP_List_Table->__get( $name );
$name(строка) (обязательный)
Property to get.

Список изменений

С версии 4.0.0 Введена.

Код WP_List_Table::__get() WP 6.2.2

public function __get( $name ) {
	if ( in_array( $name, $this->compat_fields, true ) ) {
		return $this->$name;
	}
}