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



wp_insert_term_data ›

Since4.7.0
已弃用n/a
apply_filters( 'wp_insert_term_data', $data, $taxonomy, $args )
参数: (3)
  • (array) $data Term data to be inserted.
    Required: Yes
  • (string) $taxonomy Taxonomy slug.
    Required: Yes
  • (array) $args Arguments passed to wp_insert_term().
    Required: Yes
定义在:
文档:

Filters term data before it is inserted into the database.





源码

$data = apply_filters( 'wp_insert_term_data', $data, $taxonomy, $args );