WordPress at a glance
filter is not described

set_screen_option_(option) filter-hook . WP 5.4.2

Filters a screen option value before it is set.

The dynamic portion of the hook, $option, refers to the option name.

Returning false to the filter will skip saving the current option.

Usage

add_filter( 'set_screen_option_(option)', 'filter_function_name_2720', 10, 3 );
function filter_function_name_2720( $keep, $option, $value ){
	// filter...

	return $keep;
}
$keep(true/false)
Whether to save or skip saving the screen option value.
Default: false
$option(string)
The option name.
$value(int)
The number of rows to use.

Changelog

Since 5.4.2 Introduced.

Where the hook is called

set_screen_options()
set_screen_option_(option)
wp-admin/includes/misc.php 728
$value = apply_filters( "set_screen_option_{$option}", false, $option, $value );

Where in WP core the hook is used

Usage not found!