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



edit_term › WordPress动作钩子

Since6.1.0
已弃用n/a
› do_action( 'edit_term', $term_id, $tt_id, $taxonomy, $args )
参数: (4)
  • () term_id Term ID.
    Required: Yes
  • () tt_id Term taxonomy ID.
    Required: Yes
  • () taxonomy Taxonomy slug.
    Required: Yes
  • () args Arguments passed to wp_update_term().
    Required: Yes
定义在:
文档:

Fires after a term has been updated, but before the term cache has been cleaned.

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




源码

do_action( 'edit_term', $term_id, $tt_id, $taxonomy, $args );