Fires after a network site has its deletion flag removed.
$id
Sortie :
@param int $id The ID of the reactivated site.
// Ajouter une fonction au hook action 'activate_blog'
add_action('activate_blog', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($id) {
// Votre code ici
error_log('Hook activate_blog déclenché');
}
Chargement des actualités...