I am getting emails everyday from my WordPress site about updates. How can I stop those emails?
How do I Stop WordPress Notifications? was last modified: April 23rd, 2023 by
1 Answers
add_filter( 'auto_core_update_send_email', 'a1_stop_update_emails', 10, 4 ); function a1_stop_update_emails( $send, $type, $core_update, $result ) { if ( ! empty( $type ) && $type == 'success' ) { return false; } return true; } add_filter( 'auto_plugin_update_send_email', '__return_false' ); add_filter( 'auto_theme_update_send_email', '__return_false' );
Go to your functions.php file in your theme. Make sure you are using a Child Theme. Then add this code to the bottom of it.
Answer for How do I Stop WordPress Notifications? was last modified: April 23rd, 2023 by