wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



saved_{$taxonomy} › Les Actions WordPress

Depuis6.1.0
Dépréciéen/a
do_action( "saved_{$taxonomy}", $term_id, $tt_id, false, $args )
Paramètres: (4)
  • (int) $term_id Term ID.
    Requis: Oui
  • (int) $tt_id Term taxonomy ID.
    Requis: Oui
  • (bool) $update Whether this is an existing term being updated.
    Requis: Oui
  • (array) $args Arguments passed to wp_insert_term().
    Requis: Oui
Défini(e) dans:
Codex:

Fires after a term in a specific taxonomy has been saved, and the term cache has been cleared.

The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.

Possible hook names include:

  • saved_category
  • saved_post_tag




Source

do_action( "saved_{$taxonomy}", $term_id, $tt_id, false, $args );