wpmu_update_blog_options

ACTION wp-admin\network\site-settings.php (ligne 60) github
Fires after the site options are updated.

Paramètres

Entrée :
$id
Sortie :
@param int $id The ID of the site being updated.

Utilisation

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

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

Actualités

Chargement des actualités...