Used By
Used By | Description |
---|---|
wp-admin/includes/misc.php: set_screen_options() | Saves option for number of rows when listing posts, pages, comments, etc. |
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 from the filter will skip saving the current option.
(mixed) The value to save instead of the option value. Default false (to skip saving the current option).
(string) The option name.
(int) The option value.
Version | Description |
---|---|
5.4.2 | Only applied to options ending with '_page', or the 'layout_columns' option. |
2.8.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/set-screen-option