GeoDirectory Admin Notification Emails: Changing the Recipient Email Address or Sending to Multiple Email Addresses

By Default GeoDirectory will send admin emails to the email address set under WordPress Settings > General > Administration Email Address.  

Changing the Admin Notifications Email Address 

If, for some reason, you need GeoDirectory notification emails to go to a different address you can add a code snippet to set the email address you want it to go to:

add_filter('geodir_admin_email','_my_new_gd_admin_email');
function _my_new_gd_admin_email( $admin_email ){
    return "my-new-admin-email@my-domain.com";
}

Sending Notification Emails to Multiple Addresses

On the other hand, if you need to send the GeoDirectory admin notification emails to more than one email address, you can use the following code snippet: 

add_filter('geodir_admin_email','_my_new_gd_admin_email');
function _my_new_gd_admin_email( $admin_email ){
	return "my-new-admin-email@my-domain.com, 2ndemail@my-domain.com, 2rdemail@my-domain.comm"; 
}
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us