On this page
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.
Parameters
$sortable_columnsarray-
An array of sortable columns.
Source
File: wp-admin/includes/class-wp-list-table.php. View all references
$_sortable = apply_filters( "manage_{$this->screen->id}_sortable_columns", $sortable_columns );
Related
Used By
| Used By | Description |
|---|---|
| WP_List_Table::get_column_info() wp-admin/includes/class-wp-list-table.php | Gets a list of all, hidden, and sortable columns, with filter applied. |
Changelog
| Version | Description |
|---|---|
| 3.1.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/manage_this-screen-id_sortable_columns