auto_core_update_send_email

auto_core_update_send_email

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('auto_core_update_send_email') is found 1 times:

  • /wp-admin/includes/class-wp-automatic-updater.php line 935
    931
    932
    933
    934
    935
    936
    937
    938
    939
    940
    941
    *                            'success', 'fail', 'critical'.
     * @param object $core_update The update offer that was attempted.
     * @param mixed  $result      The result for the core update. Can be WP_Error.
     */
    if ( 'manual' !== $type && ! apply_filters( 'auto_core_update_send_email', true, $type, $core_update, $result ) ) {
        return;
    }
     
    switch ( $type ) {
        case 'success': // We updated.
            /* translators: Site updated notification email subject. 1: Site title, 2: WordPress version. */