WP_Screen::remove_options()publicWP 3.8.0

Removes all options from the screen.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

$WP_Screen = new WP_Screen();
$WP_Screen->remove_options();

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

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

Код WP_Screen::remove_options() WP 6.5.2

public function remove_options() {
	$this->_options = array();
}