I need update WordPress account email with woocommerce billing email after successful checkouts. I used this code but it does not work : Am I used an outdated code? Answer There are some mistakes. Try the following instead: Code goes in functions.php file of the active child theme (or active theme). It should work. Note: When changing user email, WordPress