wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



saved_{$taxonomy} › Hooks de Ações WordPress

Desde6.1.0
Obsoleton/a
› do_action( "saved_{$taxonomy}", $term_id, $tt_id, false, $args )
Parâmetros: (4)
  • () term_id Term ID.
    Required: Yes
  • () tt_id Term taxonomy ID.
    Required: Yes
  • () update Whether this is an existing term being updated.
    Required: Yes
  • () args Arguments passed to wp_insert_term().
    Required: Yes
Definido em:
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`




Fonte

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