Removes an option from the screen.
$optionstringrequired
public function remove_option( $option ) {
unset( $this->_options[ $option ] );
}
| Version | Description |
|---|---|
| 3.8.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_screen/remove_option