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



split_shared_term ›

Desde4.2.0
Obsoleton/a
do_action( 'split_shared_term', $term_id, $new_term_id, $term_taxonomy_id, $term_taxonomy->taxonomy )
Parâmetros: (4)
  • (int) $term_id ID of the formerly shared term.
    Required: Yes
  • (int) $new_term_id ID of the new term created for the $term_taxonomy_id.
    Required: Yes
  • (int) $term_taxonomy_id ID for the term_taxonomy row affected by the split.
    Required: Yes
  • (string) $taxonomy Taxonomy for the split term.
    Required: Yes
Definido em:
Codex:

Fires after a previously shared taxonomy term is split into two separate terms.





Fonte

do_action( 'split_shared_term', $term_id, $new_term_id, $term_taxonomy_id, $term_taxonomy->taxonomy );