WordPress开发者和主题制作者的搜索引擎



split_shared_term ›

Since4.2.0
已弃用n/a
do_action( 'split_shared_term', $term_id, $new_term_id, $term_taxonomy_id, $term_taxonomy->taxonomy )
参数: (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
定义在:
文档:

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





源码

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