WP_Screen::remove_option()
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() WP Screen::remove option code WP 6.5.2
public function remove_option( $option ) { unset( $this->_options[ $option ] ); }