A WordPress-centric search engine for devs and theme authors



split_shared_term ›

Since4.2.0
Deprecatedn/a
do_action( 'split_shared_term', $term_id, $new_term_id, $term_taxonomy_id, $term_taxonomy->taxonomy )
Parameters: (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
Defined at:
Codex:

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





Source

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