wpmueditblogaction

ACTION wp-admin\network\site-settings.php (ligne 181) github
Fires at the end of the Edit Site form, before the submit button.

Paramètres

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

Utilisation

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

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

Actualités

Chargement des actualités...