WC Save account detail hook
-
Some countries were not accustomed to provide first name and last name respectively, if there is a hook for save_account_details to filter the following error handler:
if ( empty( $account_first_name ) || empty( $account_last_name ) ) { wc_add_notice( __( 'Please enter your name.', 'woocommerce' ), 'error' ); }
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘WC Save account detail hook’ is closed to new replies.