Filters the text string of the auto-updates setting for each plugin in the Site Health debug data.
$auto_updates_string, $plugin_path, $plugin, $enabled
Sortie :
@param string $auto_updates_string The string output for the auto-updates column. @param string $plugin_path The path to the plugin file. @param array $plugin An array of plugin data. @param bool $enabled Whether auto-updates are enabled for this item.
// Modifier la valeur avec le filtre 'plugin_auto_update_debug_string'
add_filter('plugin_auto_update_debug_string', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($auto_updates_string) {
// Modifier la valeur
return $auto_updates_string;
}
Chargement des actualités...