automatic_updates_debug_email

automatic_updates_debug_email

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('automatic_updates_debug_email') is found 1 times:

  • /wp-admin/includes/class-wp-automatic-updater.php line 1715
    1711
    1712
    1713
    1714
    1715
    1716
    1717
    1718
    1719
    1720
    1721
         * }
         * @param int   $failures The number of failures encountered while upgrading.
         * @param mixed $results  The results of all attempted updates.
         */
        $email = apply_filters( 'automatic_updates_debug_email', $email, $failures, $this->update_results );
     
        wp_mail( $email['to'], wp_specialchars_decode( $email['subject'] ), $email['body'], $email['headers'] );
    }
     
    /**
     * Performs a loopback request to check for potential fatal errors.