wpmublogsaction

ACTION wp-admin\includes\class-wp-ms-sites-list-table.php (ligne 585) github
Fires inside the auxiliary 'Actions' column of the Sites list table. By default this column is hidden unless something is hooked to the action.

Paramètres

Entrée :
$blog['blog_id']
Sortie :
@param int $blog_id The site ID.

Utilisation

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

function ma_fonction_personnalisee($blog['blog_id']) {
    // Votre code ici
    error_log('Hook wpmublogsaction déclenché');
}

Actualités

Chargement des actualités...