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

$empty_columns

(array) Empty array.

$screen_id

(string) Screen ID.

$screen

(WP_Screen) Current WP_Screen instance.

Source

File: wp-admin/includes/class-wp-screen.php

View on Trac

Changelog

Version Description
2.8.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/screen_layout_columns