rest_after_insert_{$this->taxonomy}
rest_after_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-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_after_insert_{$this->taxonomy}') is found 4 times:
- /wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php line 268
$request->set_param( 'context', 'view' ); /** This action is documented in wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php */ do_action( "rest_after_insert_{$this->taxonomy}", $term, $request, true ); $response = $this->prepare_item_for_response( $term, $request ); $response = rest_ensure_response( $response ); $response->set_status( 201 ); $response->header( 'Location', rest_url( $this->namespace . '/' . $this->rest_base . '/' . $term->term_id ) );
- /wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php line 352
$request->set_param( 'context', 'view' ); /** This action is documented in wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php */ do_action( "rest_after_insert_{$this->taxonomy}", $term, $request, false ); $response = $this->prepare_item_for_response( $term, $request ); return rest_ensure_response( $response ); }
- /wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php line 594
* @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_after_insert_{$this->taxonomy}", $term, $request, true ); $response = $this->prepare_item_for_response( $term, $request ); $response = rest_ensure_response( $response ); $response->set_status( 201 ); $response->header( 'Location', rest_url( $this->namespace . '/' . $this->rest_base . '/' . $term->term_id ) );
- /wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php line 699
$request->set_param( 'context', 'edit' ); /** This action is documented in wp-includes/rest-api/endpoints/class-wp-rest-terms-controller.php */ do_action( "rest_after_insert_{$this->taxonomy}", $term, $request, false ); $response = $this->prepare_item_for_response( $term, $request ); return rest_ensure_response( $response ); }