make_ham_blog

ACTION wp-includes\ms-site.php (ligne 1190) github
Fires when the 'spam' status is removed from a site.

Paramètres

Entrée :
$site_id
Sortie :
@param int $site_id Site ID.

Utilisation

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

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

Actualités

Chargement des actualités...