manage_themes_custom_column

ACTION wp-admin\includes\class-wp-ms-themes-list-table.php (ligne 907) github
Fires inside each custom column of the Multisite themes list table.

Paramètres

Entrée :
$column_name, $stylesheet, $theme
Sortie :
@param string   $column_name Name of the column.
@param string   $stylesheet  Directory name of the theme.
@param WP_Theme $theme       Current WP_Theme object.

Utilisation

// Ajouter une fonction au hook action 'manage_themes_custom_column'
add_action('manage_themes_custom_column', 'ma_fonction_personnalisee', 10, 1);

function ma_fonction_personnalisee($column_name, $stylesheet, $theme) {
    // Votre code ici
    error_log('Hook manage_themes_custom_column déclenché');
}

Actualités

Chargement des actualités...