wpseek.com
A WordPress-centric search engine for devs and theme authors
rest_pre_insert_{$this->taxonomy} › WordPress Filter Hooks
Since4.7.0
Deprecatedn/a
› apply_filters( "rest_pre_insert_{$this->taxonomy}", $prepared_term, $request )
Parameters: (2) |
|
Defined at: | |
Codex: |
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