W3cubDocs

/WordPress

apply_filters( ‘screen_options_show_screen’, bool $show_screen, WP_Screen $screen )

Filters whether to show the Screen Options tab.

Parameters

$show_screenbool
Whether to show Screen Options tab.
Default true.
$screenWP_Screen
Current WP_Screen instance.

Source

$this->_show_screen_options = apply_filters( 'screen_options_show_screen', $show_screen, $this );

Changelog

Version Description
3.2.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/screen_options_show_screen