/** * This is a single email example. To change the * notification address just return the filtered result. */ add_filter( 'wpmem_notify_addr', function( $email ) { return 'notify@mydomain.com'; }); /** * This is a multiple email example. Note that your outgoing * mail server must support receiving multiple emails as * comma separated values for this to be supported. */ add_filter( 'wpmem_notify_addr', function( $email ) { return 'notify1@mydomain.com, notify2@mydomain.com'; }); /** * Notification addresses can be changed based on your own * crititeria, supposing you know a little PHP. */ add_filter( 'wpmem_notify_addr', function( $email ) { // Change the email based on your own custom logic. if ( $some_criteria ) { $email = 'some_other_email@mydomain.com'; } return $email; });
Not sure what to do with this code?
You're not a "coder" and don't know what to do? Don't worry! Code Snippets are the basic building blocks of WordPress customization, and once you know the basics, they are simple to use.
Here are some free articles to get you started:
- Using Code Snippets from the Site
- Using a code snippets plugin
- The functions.php File
- Create a plugin file for custom functions
- Create a child theme
- Do not modify plugin files!
For "hands on" help, consider a plugin support subscription or the Pro Bundle.