Action fires when the Logs tab starts loading.
$params['view']
Sortie :
@param string $view The current view within the Logs tab.
// 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é');
}
Chargement des actualités...