woocommerce_debug_tools

FILTER woocommerce\includes\rest-api\Controllers\Version2\class-wc-rest-system-status-tools-v2-controller.php (ligne 253) github
A list of available tools for use in the system status section. 'button' becomes 'action' in the API.

Paramètres

Entrée :
$tools
Sortie :
@return array

Utilisation

// Modifier la valeur avec le filtre 'woocommerce_debug_tools'
add_filter('woocommerce_debug_tools', 'ma_fonction_filtre', 10, 1);

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

Actualités

Chargement des actualités...