WP_List_Table::__unset()publicWP 4.0.0

Make private properties un-settable for backward compatibility.

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

Хуков нет.

Возвращает

null. Ничего.

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

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

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

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

Код WP_List_Table::__unset() WP 6.2.2

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