[Resolved] Replace WC_Email class function customer_new_account()?
Hello, let me start off by saying that the woocommerece plugin ROCKS!
Okay, this may be a newbie question and I don’t know if its possible to do, but here goes.
Without editing any of the core files and strictly using functions.php in my child theme, I’d like to replace the function customer_new_account() that is within the WC_Email class to use my own custom function.
For example, for any call to $mailer->customer_new_account( $user_id, $user_pass ) in the woocommerce plugin, I want to swap out those calls to essentially call my function “my_customer_new_account().”
I’m not versed well enough in PHP class structuring to know if this is even doable. It’s not the end of the world if I can’t do this, but it would be helpful.
Any pointers/suggestions would be greatly appreciated.
- The topic ‘[Resolved] Replace WC_Email class function customer_new_account()?’ is closed to new replies.