Filters the list table sortable columns for a specific screen. The dynamic portion of the hook name, `$this->screen->id`, refers to the ID of the current screen.
$sortable_columns
Sortie :
@param array $sortable_columns An array of sortable columns.
// Modifier la valeur avec le filtre 'manage_{$this->screen->id}_sortable_columns'
add_filter('manage_{$this->screen->id}_sortable_columns', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($sortable_columns) {
// Modifier la valeur
return $sortable_columns;
}
Chargement des actualités...