• // get email post-author
    					$emailAuthor =  get_userdata( $post->post_author );
    					$emailAuthor = $emailAuthor->user_email;			
    			
    
    					$users = get_users(array(
    						'role'		=> 'editor'
    					));
    					
    
    					foreach ($users as $user) {
    						$multiple_recipients = array(
    							$user->user_email,
    							$emailAuthor
    						);
    						// $result = wp_mail($user->user_email, $subject, $message, $headers);
    						$result = wp_mail($multiple_recipients, $subject, $message, $headers);
    					}

    Here is the code to put in lines 505 and 429 requirements

    can you update the module?

    Thank you

  • The topic ‘Update module’ is closed to new replies.