apply_filters( ‘automatic_updates_send_debug_email’, bool $development_version )

In this article

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

VersionDescription
3.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.