rest_insert_{$this->taxonomy}
rest_insert_{$this->taxonomy}
Appears in: gutenberg.10.0.0, gutenberg.10.0.1, gutenberg.10.0.2, gutenberg.10.1.0, gutenberg.10.1.1, gutenberg.10.2.1, gutenberg.10.3.0, gutenberg.10.3.1, gutenberg.10.3.2, gutenberg.10.4.0, gutenberg.10.4.1, gutenberg.10.5.2, gutenberg.10.5.3, gutenberg.10.5.4, gutenberg.10.6.0, gutenberg.10.6.1, gutenberg.10.6.2, gutenberg.10.7.1, gutenberg.10.7.2, gutenberg.10.7.4, gutenberg.10.8.0, gutenberg.10.8.1, gutenberg.10.8.2, gutenberg.10.9.0, gutenberg.10.9.1, gutenberg.11.0.0, gutenberg.11.1.0, gutenberg.11.2.0, gutenberg.11.2.1, gutenberg.11.3.0, gutenberg.11.4.0, gutenberg.11.4.1, gutenberg.11.5.0, gutenberg.11.5.1, gutenberg.11.6.0, gutenberg.11.7.1, gutenberg.11.8.0, gutenberg.12.7.2, gutenberg.12.9.0, gutenberg.13.1.0, gutenberg.13.2.0, gutenberg.13.4.0, gutenberg.13.5.0, gutenberg.13.5.2, gutenberg.13.6.0, gutenberg.7.8.0, gutenberg.7.8.1, gutenberg.7.9.0, gutenberg.7.9.1, gutenberg.8.0.0, gutenberg.8.1.0, gutenberg.8.2.0, gutenberg.8.2.1, gutenberg.8.3.0, gutenberg.8.5.1, gutenberg.8.6.0, gutenberg.8.6.1, gutenberg.8.7.0, gutenberg.8.7.1, gutenberg.8.8.0, gutenberg.8.9.0, gutenberg.8.9.1, gutenberg.8.9.2, gutenberg.8.9.3, gutenberg.9.0.0, gutenberg.9.1.0, gutenberg.9.1.1, gutenberg.9.2.0, gutenberg.9.2.1, gutenberg.9.2.2, gutenberg.9.3.0, gutenberg.9.4.0, gutenberg.9.4.1, gutenberg.9.5.0, gutenberg.9.5.1, gutenberg.9.5.2, gutenberg.9.6.0, gutenberg.9.6.1, gutenberg.9.6.2, gutenberg.9.7.0, gutenberg.9.7.1, gutenberg.9.7.2, gutenberg.9.7.3, gutenberg.9.7.4, gutenberg.9.8.0, gutenberg.9.8.1, gutenberg.9.8.2, gutenberg.9.8.3, gutenberg.9.8.4, gutenberg.9.9.0, gutenberg.9.9.1, gutenberg.9.9.2, gutenberg.9.9.3, wordpress-4.8, wordpress-4.9, wordpress-4.9.4, wordpress-4.9.5, wordpress-4.9.6, wordpress-4.9.7, wordpress-4.9.8, wordpress-5.0, wordpress-5.0.1, wordpress-5.0.2, wordpress-5.0.3, wordpress-5.1, wordpress-5.1.1, wordpress-5.2, wordpress-5.2.1, wordpress-5.2.2, wordpress-5.2.3, wordpress-5.3, wordpress-5.3.1, wordpress-5.3.2, wordpress-5.4, wordpress-5.4.1, wordpress-5.4.2, wordpress-5.5, wordpress-5.5.1, wordpress-5.5.2, wordpress-5.5.3, wordpress-5.6, wordpress-5.6.1, wordpress-5.6.2, wordpress-5.7, wordpress-5.7.1, wordpress-5.7.2, wordpress-5.8, wordpress-5.8.1, wordpress-5.8.2, wordpress-5.8.3, wordpress-5.9, wordpress-5.9.1, wordpress-5.9.2, wordpress-5.9.3, wordpress-6.0, wordpress-6.0.2, wordpress-6.0.3, wordpress-6.1, wordpress-6.1.1, wordpress-6.2, wordpress-6.2.1, wordpress-6.2.2, wordpress-6.3, wordpress-6.3.1, wordpress-6.3.2, wordpress-6.4, wordpress-6.4.1, wordpress-6.4.2, wordpress-6.4.3, wordpress-6.5, wordpress-6.5.2, wordpress-6.5.3, wordpress-6.5.4, wordpress-6.5.5, wordpress-6.6, wordpress-6.6.1, wordpress-6.6.2, wordpress-6.7
Hook Type: action
Displaying hooks found in version: wordpress-6.7do_action('rest_insert_{$this->taxonomy}') is found 4 times:
- /wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php line 240
$term = $this->get_term( $term ); /** This action is documented in wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php */ do_action( "rest_insert_{$this->taxonomy}", $term, $request, true ); $schema = $this->get_item_schema(); if ( ! empty( $schema['properties']['meta'] ) && isset( $request['meta'] ) ) { $meta_update = $this->meta->update_value( $request['meta'], $term->term_id ); if ( is_wp_error( $meta_update ) ) {
- /wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php line 324
$term = get_term( $term->term_id, $this->taxonomy ); /** This action is documented in wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php */ do_action( "rest_insert_{$this->taxonomy}", $term, $request, false ); $schema = $this->get_item_schema(); if ( ! empty( $schema['properties']['meta'] ) && isset( $request['meta'] ) ) { $meta_update = $this->meta->update_value( $request['meta'], $term->term_id ); if ( is_wp_error( $meta_update ) ) {
- /wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php line 559
* @param WP_Term $term Inserted or updated term object. * @param WP_REST_Request $request Request object. * @param bool $creating True when creating a term, false when updating. */ do_action( "rest_insert_{$this->taxonomy}", $term, $request, true ); $schema = $this->get_item_schema(); if ( ! empty( $schema['properties']['meta'] ) && isset( $request['meta'] ) ) { $meta_update = $this->meta->update_value( $request['meta'], $term->term_id ); if ( is_wp_error( $meta_update ) ) {
- /wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php line 679
$term = get_term( $term->term_id, $this->taxonomy ); /** This action is documented in wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php */ do_action( "rest_insert_{$this->taxonomy}", $term, $request, false ); $schema = $this->get_item_schema(); if ( ! empty( $schema['properties']['meta'] ) && isset( $request['meta'] ) ) { $meta_update = $this->meta->update_value( $request['meta'], $term->term_id ); if ( is_wp_error( $meta_update ) ) {