apply_filters( 'screen_options_show_screen', bool $show_screen, WP_Screen $screen )
- Since
- 3.2.0
Filters whether to show the Screen Options tab.
Compatibility
- WordPress
- since 3.2.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Parameters
$show_screenbool- Whether to show Screen Options tab.
Default true. $screenWP_Screen- Current WP_Screen instance.
Where this hook fires · 1
wp-admin/includes/class-wp-screen.php:1036WP_Screen::show_screen_options()
Source code
* @since 3.2.0 * * @param bool $show_screen Whether to show Screen Options tab. * Default true. * @param WP_Screen $screen Current WP_Screen instance. */ $this->_show_screen_options = apply_filters( 'screen_options_show_screen', $show_screen, $this ); return $this->_show_screen_options; } /** * Renders the screen options tab. *Changelog
Introduced in 3.2.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 6.9.7 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.