A WordPress-centric search engine for devs and theme authors



set-screen-option ›

Since2.8.0
Deprecatedn/a
apply_filters( 'set-screen-option', false, $option, $value )
Parameters: (3)
  • (bool|int) $value Screen option value. Default false to skip.
    Required: Yes
  • (string) $option The option name.
    Required: Yes
  • (int) $value The number of rows to use.
    Required: Yes
See:
  • set_screen_options()
Defined at:
Codex:

Filters a screen option value before it is set.

The filter can also be used to modify non-standard [items]_per_page settings. See the parent function for a full list of standard options.

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





Source

$value = apply_filters( 'set-screen-option', false, $option, $value );