wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



saved_{$taxonomy} › WordPress Action Hooks

Seit6.1.0
Veraltetn/v
do_action( "saved_{$taxonomy}", $term_id, $tt_id, false, $args )
Parameter: (4)
  • (int) $term_id Term ID.
    Erforderlich: Ja
  • (int) $tt_id Term taxonomy ID.
    Erforderlich: Ja
  • (bool) $update Whether this is an existing term being updated.
    Erforderlich: Ja
  • (array) $args Arguments passed to wp_insert_term().
    Erforderlich: Ja
Definiert in:
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




Quellcode

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