apply_filters( "set_screen_option_{$option}", mixed $screen_option , string $option , int $value )
Filters a screen option value before it is set.
Description
The dynamic portion of the hook, $option
, refers to the option name.
Returning false to the filter will skip saving the current option.
See also
Parameters
- $screen_option
-
The value to save instead of the option value. Default false (to skip saving the current option).
- $option
-
The option name.
- $value
-
The option value.
Source
Changelog
Version | Description |
---|---|
WP-4.9.15 | Introduced. |