W3cubDocs

/WordPress

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

$_sortable = apply_filters( "manage_{$this->screen->id}_sortable_columns", $sortable_columns );

Changelog

Version Description
3.1.0 Introduced.

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