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
File: wp-admin/includes/class-wp-automatic-updater.php
.
View all references
if ( apply_filters( 'automatic_updates_send_debug_email', $development_version ) ) {
Changelog
Version | Description |
---|---|
3.7.0 | Introduced. |