wpseek.com
WordPress开发者和主题制作者的搜索引擎
rest_pre_insert_{$this->taxonomy} › WordPress过滤钩子
Since4.7.0
已弃用n/a
› apply_filters( "rest_pre_insert_{$this->taxonomy}", $prepared_term, $request )
参数: (2) |
|
定义在: | |
文档: |
Filters term data before inserting term via the REST API.
The dynamic portion of the hook name, $this->taxonomy
, refers to the taxonomy slug.
Possible hook names include:
rest_pre_insert_category
rest_pre_insert_post_tag
Related Functions: is_object_in_taxonomy, get_post_taxonomies, rest_parse_hex_color, _wp_filter_taxonomy_base, create_initial_taxonomies, rest_get_route_for_taxonomy_items