network_admin_plugin_action_links_{$plugin_file}

FILTER wp-admin\includes\class-wp-plugins-list-table.php (ligne 1036) github
Filters the list of action links displayed for a specific plugin in the Network Admin Plugins list table. The dynamic portion of the hook name, `$plugin_file`, refers to the path to the plugin file, relative to the plugins directory.

Paramètres

Entrée :
$actions, $plugin_file, $plugin_data, $context
Sortie :
@param string[] $actions     An array of plugin action links. By default this can include
@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   $context     The plugin context. By default this can include 'all',

Utilisation

// Modifier la valeur avec le filtre 'network_admin_plugin_action_links_{$plugin_file}'
add_filter('network_admin_plugin_action_links_{$plugin_file}', 'ma_fonction_filtre', 10, 1);

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

Actualités

Chargement des actualités...