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