manage_{$screen->id}_columns

FILTER wp-admin\includes\screen.php (ligne 37) github
Filters the column headers for a list table on a specific screen. The dynamic portion of the hook name, `$screen->id`, refers to the ID of a specific screen. For example, the screen ID for the Posts list table is edit-post, so the filter for that screen would be manage_edit-post_columns.

Paramètres

Entrée :
array(
Sortie :
@param string[] $columns The column header labels keyed by column ID.

Utilisation

// Modifier la valeur avec le filtre 'manage_{$screen->id}_columns'
add_filter('manage_{$screen->id}_columns', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre(array() {
    // Modifier la valeur
    return array(;
}

Actualités

Chargement des actualités...