New User Email Notification Email via submit
-
Hi,
I noticed that when registration is enabled via the job submit form, the submit handler calls the wp_job_manager_create_account which at the end on notify section this call is made:
// Notify if ( version_compare( $wp_version, '4.3.1', '<' ) ) { wp_new_user_notification( $user_id, $password ); } else { wp_new_user_notification( $user_id, null, 'both' ); }
The problem with current solution is that when woo commerce is installed, it used its own new account template which make the emails inconsistant. i.e. users register via login page receive different email than users registered via submit form.
I was wondering if it is possible to update the code above via (filter or action) to call WC_Email_Customer_New_Account template instead of default WP function.
Thanks
Ethan
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘New User Email Notification Email via submit’ is closed to new replies.