woocommerce_cleanup_rate_limits

ACTION woocommerce\includes\class-woocommerce.php (ligne 1501) github
Wrapper for the `woocommerce_cleanup_rate_limits` action. This prevents the event failing when the class is not loaded. It loads the class if it exists, and then calls the actual action.

Paramètres

Entrée :
N/A
Sortie :
@return void

Utilisation

// Ajouter une fonction au hook action 'woocommerce_cleanup_rate_limits'
add_action('woocommerce_cleanup_rate_limits', 'ma_fonction_personnalisee', 10, 1);

function ma_fonction_personnalisee() {
    // Votre code ici
    error_log('Hook woocommerce_cleanup_rate_limits déclenché');
}

Actualités

Chargement des actualités...