Filters the action links displayed for each plugin in the Plugins list table.
Filtre les liens d'action affichés pour chaque plugin dans le tableau de la liste des plugins.
$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',
add_filter('plugin_action_links_' . plugin_basename(__FILE__), 'add_plugin_links');
function add_plugin_links($links) {
$links['settings'] = 'Settings';
return $links;
}
Chargement des actualités...