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



wp_update_term_data ›

Since4.7.0
已弃用n/a
apply_filters( 'wp_update_term_data', $data, $term_id, $taxonomy, $args )
参数: (4)
  • (array) $data Term data to be updated.
    Required: Yes
  • (int) $term_id Term ID.
    Required: Yes
  • (string) $taxonomy Taxonomy slug.
    Required: Yes
  • (array) $args Arguments passed to wp_update_term().
    Required: Yes
定义在:
文档:

Filters term data before it is updated in the database.





源码

$data = apply_filters( 'wp_update_term_data', $data, $term_id, $taxonomy, $args );