W3cubDocs

/WordPress

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

Filters the list of hidden columns.

Parameters

$hidden

(string[]) Array of IDs of hidden columns.

$screen

(WP_Screen) WP_Screen object of the current screen.

$use_defaults

(bool) Whether to show the default columns.

Source

File: wp-admin/includes/screen.php

View on Trac

Changelog

Version Description
4.4.1 Added the use_defaults parameter.
4.4.0 Introduced.

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