We use Advanced Access Manager to manage users permissions on our Woocommerce site. When a user logs in, the menu options change according to their role membership.
Also when orders change status, emails are sent to users belonging to certain groups.
After upgrading the backend options seems fine, however emails are no longer sent. Looking at emails log no attempt to send is made.
Current version 5.11
Upgrade attempt 6.4.3
Code. Users belonging to the group roles ‘cs’ and ‘accounting’ are not receiving emails. Please advise.
// Get all CS and Accounting Users
$args = array(
‘blog_id’ => $GLOBALS[‘blog_id’],
‘role__in’ => array( ‘cs’, ‘accounting’ )