Fires at the end of the Add Term form for all taxonomies. The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. Possible hook names include: - `category_add_form` - `post_tag_add_form`
$taxonomy
Sortie :
@param string $taxonomy The taxonomy slug.
// Ajouter une fonction au hook action '{$taxonomy}_add_form'
add_action('{$taxonomy}_add_form', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($taxonomy) {
// Votre code ici
error_log('Hook {$taxonomy}_add_form déclenché');
}
Chargement des actualités...