WordPress.org

Forums

E-Mail Notifications for 3.7 Automatic Backup Updates (6 posts)

  1. jerryrcole
    Member
    Posted 1 year ago #

    Does anybody know how to configure e-mail notifications for the automatic background update feature that was released with 3.7? I couldn't find any documentation on wordpress.org, but found the filter below on another site. My goal is to only receive email notifications on failures. I don't know what to put in the $core_udpate and $result parameters.

    apply_filters('auto_core_update_send_email', true, $type, $core_update, $result);

  2. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

  3. leejosepho
    Member
    Posted 1 year ago #

    I would guess wp-config.php where other update-related things go:
    http://codex.wordpress.org/Disabling_Automatic_Background_Updates

  4. jerryrcole
    Member
    Posted 1 year ago #

    Thank you both for the reply. The codex didn't have any information on email notifications, just enabling/disabling the updates. Does anyone know what to put in the $core_update and $result parameters for the email notifications?

  5. leejosepho
    Member
    Posted 1 year ago #

    I am working on sorting things out for the various automatic-update options other than e-mail notices, but I think that would follow adding something like this in wp-config.php:
    define( 'WP_AUTO_UPDATE_CORE', minor ); /* default setting */
    Look for "6. Manipulate whether notification emails are sent" here:
    http://make.wordpress.org/core/2013/10/25/the-definitive-guide-to-disabling-auto-updates-in-wordpress-3-7/

  6. leejosepho
    Member
    Posted 1 year ago #

    Here you go:
    http://wordpress.org/plugins/update-control/

    Automatic Updates
    Automatic Updates Enabled?
    Automatic Core Update Level?
    Permit Automatic Plugin Updates?
    Permit Automatic Theme Updates?
    Permit Automatic Translation Updates?
    
    Advanced Settings
    Disable VCS Check?
    Update Emails Enabled?
    Send Emails for Successful Updates?
    Send Emails for Failed Updates?
    Send Emails for Critically Failed Updates?
    Send Update Debug Emails?

Topic Closed

This topic has been closed to new replies.

About this Topic