after_plugin_row

ACTION wp-admin\includes\class-wp-plugins-list-table.php (ligne 1491) github
Fires after each row in the Plugins list table.

Paramètres

Entrée :
$plugin_file, $plugin_data, $status
Sortie :
@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()
@param string $status      Status filter currently applied to the plugin list.

Utilisation

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

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

Actualités

Chargement des actualités...