W3cubDocs

/WordPress

apply_filters( ‘hidden_columns’, string[] $hidden, WP_Screen $screen, bool $use_defaults )

Filters the list of hidden columns.

Parameters

$hiddenstring[]
Array of IDs of hidden columns.
$screenWP_Screen
WP_Screen object of the current screen.
$use_defaultsbool
Whether to show the default columns.

Source

return apply_filters( 'hidden_columns', $hidden, $screen, $use_defaults );

Changelog

Version Description
4.4.1 Added the use_defaults parameter.
4.4.0 Introduced.

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