manage_{$this->screen->id}_sortable_columns WordPress Filter Hook

This hook is used to manage the sortable columns for a particular screen.

apply_filters( "manage_{$this->screen->id}_sortable_columns", array $sortable_columns ) #

Filters the list table sortable columns for a specific screen.


Description

The dynamic portion of the hook name, $this->screen->id, refers to the ID of the current screen.


Top ↑

Parameters

$sortable_columns

(array)An array of sortable columns.


Top ↑

Source

File: wp-admin/includes/class-wp-list-table.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.1.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.