WP_Screen::remove_option()publicWP 3.8.0

Removes an option from the screen.

Method of the class: WP_Screen{}

No Hooks.

Return

null. Nothing (null).

Usage

$WP_Screen = new WP_Screen();
$WP_Screen->remove_option( $option );
$option(string) (required)
Option ID.

Changelog

Since 3.8.0 Introduced.

WP_Screen::remove_option() code WP 6.5.4

public function remove_option( $option ) {
	unset( $this->_options[ $option ] );
}