updated
updated
Appears in: woocommerce.10.3.4
Hook Type: action
Displaying hooks found in version: woocommerce.10.3.4do_action('updated') is found 1 times:
- /src/RestApi/Routes/V4/Orders/Controller.php line 353
* @param WP_REST_Request $request Request object. * @param boolean $creating True when creating object, false when updating. * @since 10.2.0 */ do_action( $this->get_hook_prefix() . 'updated', $order, $request ); $request->set_param( 'context', 'edit' ); return $this->prepare_item_for_response( $order, $request ); } catch ( \WC_Data_Exception $e ) { return new WP_Error( $e->getErrorCode(), $e->getMessage(), $e->getErrorData() ); } catch ( \WC_REST_Exception $e ) {