wc_logs_load_tab

ACTION woocommerce\src\Internal\Admin\Logging\PageController.php (ligne 93) github
Action fires when the Logs tab starts loading.

Paramètres

Entrée :
$params['view']
Sortie :
@param string $view The current view within the Logs tab.

Utilisation

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

function ma_fonction_personnalisee($params['view']) {
    // Votre code ici
    error_log('Hook wc_logs_load_tab déclenché');
}

Actualités

Chargement des actualités...