automatic_updates_send_debug_email WordPress Filter Hook
This hook is triggered when WordPress is about to send a debug email to the specified email address. The email address can be set in the WordPress configuration file. This hook allows you to modify the email before it is sent.
apply_filters( 'automatic_updates_send_debug_email', bool $development_version ) #
Filters whether to send a debugging email for each automatic background update.
Parameters
- $development_version
(bool)By default, emails are sent if the install is a development version. Return false to avoid the email.
Source
Changelog
Version | Description |
---|---|
3.7.0 | Introduced. |