wpseek.com
WordPress开发者和主题制作者的搜索引擎
wp_insert_term_duplicate_term_check › WordPress过滤钩子
Since5.1.0
已弃用n/a
› apply_filters( 'wp_insert_term_duplicate_term_check', $duplicate_term, $term, $taxonomy, $args, $tt_id )
参数: (5) |
|
定义在: |
|
文档: |
Filters the duplicate term check that takes place during term creation.
Term parent + taxonomy + slug combinations are meant to be unique, and wp_insert_term() performs a last-minute confirmation of this uniqueness before allowing a new term to be created. Plugins with different uniqueness requirements may use this filter to bypass or modify the duplicate-term check.
Related Functions: wp_kses_attr_check, wp_insert_attachment, wp_print_theme_file_tree, wp_cache_set_terms_last_changed, wp_schedule_update_checks, wp_insert_term