woocommerce_save_account_details, $user->ID
woocommerce_save_account_details, $user->ID
Appears in: woocommerce.11.0.0
Hook Type: action
Displaying hooks found in version: woocommerce.11.0.0do_action('woocommerce_save_account_details, $user->ID') is found 1 times:
- /includes/class-wc-form-handler.php line 449
* * @since 3.6.0 * @param int $user_id User ID being saved. */ do_action( 'woocommerce_save_account_details', $user->ID ); // Notices are checked here so that if something created a notice during the save hooks above, the redirect will not happen. if ( 0 === wc_notice_count( 'error' ) ) { wc_add_notice( __( 'Account details changed successfully.', 'woocommerce' ) ); wp_safe_redirect( wc_get_endpoint_url( 'edit-account', '', wc_get_page_permalink( 'myaccount' ) ) ); exit;