Created
April 25, 2018 04:30
-
-
Save nmedia82/292ca83ab3171d121832252e37696206 to your computer and use it in GitHub Desktop.
Change admin admin to get WooConvo notification
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add this code at theme's function.php at bottom | |
add_filter('wooconvo_message_receivers', 'wooconvo_change_admin_email', 10, 2) | |
function wooconvo_message_receivers($receivers, $is_admin) { | |
if( $is_admin ) { | |
$receivers = array('[email protected]'); // add more email if need in array | |
} | |
return $receivers; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
not works