Filter hook 'screen_options_show_submit'
in WP Core File wp-admin/includes/class-wp-screen.php at line 1092
Description
Filters whether to show the Screen Options submit button.
Occurrences
Filename |
Line Number |
wp-admin/includes/class-wp-screen.php |
1092 |
Parameters
Type |
Name |
Description |
bool |
$show_button |
Whether to show Screen Options submit button. Default false. |
WP_Screen |
$screen |
Current WP_Screen instance. |
Usage Examples
Example 1
add_filter( 'screen_options_show_submit', '__return_true'
Example 2
add_filter( 'screen_options_show_submit', '__return_true'
PHP Doc
/**
* Filters whether to show the Screen Options submit button.
*
* @since 4.4.0
*
* @param bool $show_button Whether to show Screen Options submit button.
* Default false.
* @param WP_Screen $screen Current WP_Screen instance.
*/