W3cubDocs

/WordPress

apply_filters( ‘automatic_updates_send_debug_email’, bool $development_version )

Filters whether to send a debugging email for each automatic background update.

Parameters

$development_versionbool
By default, emails are sent if the install is a development version.
Return false to avoid the email.

Source

if ( apply_filters( 'automatic_updates_send_debug_email', $development_version ) ) {

Changelog

Version Description
3.7.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/automatic_updates_send_debug_email