W3cubDocs

/WordPress

WP_Screen::remove_option( string $option )

Remove an option from the screen.

Parameters

$option

(string) (Required) Option ID.

Source

File: wp-admin/includes/class-wp-screen.php

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

Changelog

Version Description
3.8.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_screen/remove_option