PS I use this code:
/**
* Custom admin notifications recipients
*
* @param $recipients array Actual list of recipients that will receive admin notifications
*
* @return int[] admin recipients IDs
*/
function wpca_customize_admin_notifications_recipients($recipients) {
// This line will add new recipient to the list, with user ID 8, which will receive all admin notifications
$recipients[] = 8;
return $recipients;
}
add_filter(‘cuar/notifications/administrator-recipient-ids’, ‘wpca_customize_admin_notifications_recipients’);