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 (null).

Usage

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

Changelog

Since 3.8.0 Introduced.

WP_Screen::remove_options() code WP 6.5.2

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