after-{$taxonomy}-table

ACTION wp-admin\edit-tags.php (ligne 679) github
Fires after the taxonomy list table. The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. Possible hook names include:  - `after-category-table`  - `after-post_tag-table`

Paramètres

Entrée :
$taxonomy
Sortie :
@param string $taxonomy The taxonomy name.

Utilisation

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

function ma_fonction_personnalisee($taxonomy) {
    // Votre code ici
    error_log('Hook after-{$taxonomy}-table déclenché');
}

Actualités

Chargement des actualités...