automatic_updates_send_debug_email filter-hook . WP 3.7.0
Filters whether to send a debugging email for each automatic background update.
Usage
add_filter( 'automatic_updates_send_debug_email', 'filter_function_name_1928' ); function filter_function_name_1928( $development_version ){ // filter... return $development_version; }
- $development_version(true/false)
- By default, emails are sent if the install is a development version. Return false to avoid the email.
Changelog
Since 3.7.0 | Introduced. |
Where the hook is called
automatic_updates_send_debug_email
wp-admin/includes/class-wp-automatic-updater.php 532
if ( apply_filters( 'automatic_updates_send_debug_email', $development_version ) ) {