updated
updated
Hook Type: action
Displaying hooks found in version: woocommerce.10.4.3do_action('updated') is found 2 times:
- /src/Internal/RestApi/Routes/V4/Customers/Controller.php line 311
* @param WP_User $user_data Data used to update the customer. * @param WP_REST_Request $request Request object. * @since 10.2.0 */ do_action( $this->get_hook_prefix() . 'updated', $user_data, $request ); $request->set_param( 'context', 'edit' ); return $this->prepare_item_for_response( $customer, $request ); } catch ( \WC_REST_Exception $e ) { return new WP_Error( $e->getErrorCode(), $e->getMessage(), array( 'status' => $e->getCode() ) ); } catch ( \Exception $e ) { - /src/Internal/RestApi/Routes/V4/Orders/Controller.php line 388
* @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 ) {