screen_layout_columns WordPress Filter Hook
The screen_layout_columns hook is used to set the number of columns on a screen. The hook takes two arguments: the number of columns and the screen ID.
apply_filters( 'screen_layout_columns', array $empty_columns , string $screen_id , WP_Screen $screen ) #
Filters the array of screen layout columns.
Description
This hook provides back-compat for plugins using the back-compat Filters instead of add_screen_option().
Parameters
Source
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |