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.


Top ↑

Source

File: wp-admin/includes/class-wp-automatic-updater.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.7.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.