WP_Screen::remove_options()publicWP 3.8.0

Removes all options from the screen.

Method of the class: WP_Screen{}

No Hooks.

Return

null. Nothing.

Usage

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

Changelog

Since 3.8.0 Introduced.

WP_Screen::remove_options() code WP 6.1.1

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