Filters term data before inserting term via the REST API.
Description
The dynamic portion of the hook name, $this->taxonomy, refers to the taxonomy slug. Possible hook names include: <ul> <li>rest_pre_insert_category</li> <li>rest_pre_insert_post_tag</li> </ul>
883*884* @since 4.7.0885*886* @param object$prepared_term Term object.887* @param WP_REST_Request$request Request object.888*/889returnapply_filters("rest_pre_insert_{$this->taxonomy}",$prepared_term,$request);890}891892/**893* Prepares a single term output for response.894*895* @since 4.7.0
History
Introduced in 4.7.0. Unchanged from 6.7.7 through 7.1.0.