default_hidden_columns WordPress Filter Hook

The default_hidden_columns hook is a WordPress hook that allows you to hide certain columns from the WordPress admin interface by default. This can be useful if you want to hide certain columns from all users, or if you want to hide certain columns from specific users.

apply_filters( 'default_hidden_columns', string[] $hidden, WP_Screen $screen ) #

Filters the default list of hidden columns.


Parameters

$hidden

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

$screen

(WP_Screen)WP_Screen object of the current screen.


Top ↑

Source

File: wp-admin/includes/screen.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.