plugin_auto_update_debug_string

FILTER wp-admin\includes\class-wp-debug-data.php (ligne 1037) github
Filters the text string of the auto-updates setting for each plugin in the Site Health debug data.

Paramètres

Entrée :
$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.

Utilisation

// 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;
}

Actualités

Chargement des actualités...