Hello, thanks for your feedback!
Yes sure, you can use wp_autoupdates_notifications_email hook to filter emails, including their whole content and even produce your own email notification π
Here is the code snippets you’ll want to hook on:
$email = apply_filters( 'wp_autoupdates_notifications_email', $email, $type, $successful_updates, $failed_updates );
wp_mail( $email['to'], wp_specialchars_decode( $email['subject'] ), $email['body'], $email['headers'] );
(please remember this is a feature plugin, so those hooks may change once it is committed into WordPress Core π )
Cheers,
Jb
Hi Nesoor
Add the following to your child theme functions.php file:
add_filter( 'send_plugins_auto_update_email', '__return_false' );
add_filter( 'send_themes_auto_update_email', '__return_false' );
OR to the wp-config.php file:
define( 'WP_DISABLE_PLUGINS_AUTO_UPDATE_EMAIL', true );
define( 'WP_DISABLE_THEMES_AUTO_UPDATE_EMAIL', true );
Thanks for completing the answer, Paal π
Thread Starter
nesoor
(@nesoor)
Hey @audrasjb & @paaljoachim
Sorry I forgot to reply !
Thanks for all the support, I really appreciate that π