Batch Emails with wp_mail()

While according to wp_mail() docs you can pass array of emails addressees it would be bad email tone since it will expose addresses between them. There is no explicit bcc (blind copy) argument from quick look at source it does seems to be processed if passed in headers. Note that many hosting providers are very … Read more

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.

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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)