WP_Screen::remove_options() WordPress Method
The WP_Screen::remove_options() method is used to remove screen options from a WordPress admin page. This is useful if you want to hide certain options from your users, or if you want to limit the options available to them.
WP_Screen::remove_options() #
Remove all options from the screen.
Source
File: wp-admin/includes/class-wp-screen.php
public function remove_options() {
$this->_options = array();
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 3.8.0 | Introduced. |