General Setting Allow Multiple Email Notification

It’s not really a WP-specific solution, but if you set up a Gmail address (and likely others), you could create a filter to automatically forward notifications generated by WordPress to other admins. Short of WordPress adding multi-email notifications, that might be a workaround to temporarily solve the problem.

Is there an email subscription plugin which allows user to select category? [closed]

There’re 2 options I can think of right now: MailPress is insanely configurable with a huge number of features for making your blog deliverable by email with many many options such as which categories to include/exclude, multiple newsletter groups etc… You can make email themes too so all of your blog’s emails can be nicely … Read more

How do I allow users to follow a post and then allow admins to email all users who have followed that post?

I don’t think its polite to send email to all users who Favorited your post. Because some people favorite your post to bookmark it. So don’t combine favorite with follow. So here is my suggestion: For bookmarking, use WP favorite posts plugin. As for the follow there is no plugin exists for normal wordpress installation. … Read more

Disable WP notifications for commenting on own posts

The function that sends emails to the post author is called wp_notify_postauthor() and is located in /wp-includes/pluggable.php. This means that the function is “pluggable” and can be overridden by another function with the same name. We can make a simple plugin to do this. This is the code we’ll be adding to the function to … Read more

How do I successfully create a hook for an email override?

WordPress uses the PHPMailer class for sending mail. Before calling wp_mail, you can manipulate the $phpmailer object using the phpmailer_init filter. //Place this inside of your form callback before wp_mail() add_filter(‘phpmailer_init’, ‘foobar_phpmailer’, 99999, 1); function foobar_phpmailer(&$phpmailer){ //Manipulate the phpmailer object here }

Trouble using antispambot()

I think the problem is echo vs return, i.e. that you are using the_field instead of get_field. What you’re trying to do is similar to this: antispambot( echo( ‘[email protected]’ ) ) but echo returns nothing. Please try: <?php $email = antispambot( get_field( ‘queries_e-mail’ ) ); ?> <p> <a href=”https://wordpress.stackexchange.com/questions/124180/mailto:<?php echo $email; ?>”> <?php echo $email; … Read more