load-importer-{$importer}

ACTION wp-admin\admin.php (ligne 340) github
Fires before an importer screen is loaded. The dynamic portion of the hook name, `$importer`, refers to the importer slug. Possible hook names include:  - `load-importer-blogger`  - `load-importer-wpcat2tag`  - `load-importer-livejournal`  - `load-importer-mt`  - `load-importer-rss`  - `load-importer-tumblr`  - `load-importer-wordpress`

Paramètres

Entrée :
N/A
Sortie :
N/A

Utilisation

// Ajouter une fonction au hook action 'load-importer-{$importer}'
add_action('load-importer-{$importer}', 'ma_fonction_personnalisee', 10, 1);

function ma_fonction_personnalisee() {
    // Votre code ici
    error_log('Hook load-importer-{$importer} déclenché');
}

Actualités

Chargement des actualités...