shutdown

ACTION wp-includes\load.php (ligne 1308) github
Fires just before PHP shuts down execution.

Paramètres

Entrée :
N/A
Sortie :
N/A

Utilisation

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

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

Actualités

Chargement des actualités...