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



saved_term › Hooks de Ações WordPress

Desde6.1.0
Obsoleton/a
do_action( 'saved_term', $term_id, $tt_id, $taxonomy, false, $args )
Parâmetros: (5)
  • (int) $term_id Term ID.
    Required: Yes
  • (int) $tt_id Term taxonomy ID.
    Required: Yes
  • (string) $taxonomy Taxonomy slug.
    Required: Yes
  • (bool) $update Whether this is an existing term being updated.
    Required: Yes
  • (array) $args Arguments passed to wp_insert_term().
    Required: Yes
Definido em:
Codex:

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

The {@see 'saved_$taxonomy'} hook is also available for targeting a specific taxonomy.





Fonte

do_action( 'saved_term', $term_id, $tt_id, $taxonomy, false, $args );