manage_plugins_custom_column

ACTION wp-admin\includes\class-wp-plugins-list-table.php (ligne 1404) github
Fires inside each custom column of the Plugins list table.

Paramètres

Entrée :
$column_name, $plugin_file, $plugin_data
Sortie :
@param string $column_name Name of the column.
@param string $plugin_file Path to the plugin file relative to the plugins directory.
@param array  $plugin_data An array of plugin data. See get_plugin_data()

Utilisation

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

function ma_fonction_personnalisee($column_name, $plugin_file, $plugin_data) {
    // Votre code ici
    error_log('Hook manage_plugins_custom_column déclenché');
}

Actualités

Chargement des actualités...