Fires after each specific row in the 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.
$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.
// Ajouter une fonction au hook action 'after_plugin_row_{$plugin_file}'
add_action('after_plugin_row_{$plugin_file}', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($plugin_file, $plugin_data, $status) {
// Votre code ici
error_log('Hook after_plugin_row_{$plugin_file} déclenché');
}
Chargement des actualités...