Title: automatic_updates_send_debug_email
Published: April 25, 2014
Last modified: April 28, 2025

---

# apply_filters( ‘automatic_updates_send_debug_email’, bool $development_version )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/hooks/automatic_updates_send_debug_email/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/automatic_updates_send_debug_email/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/automatic_updates_send_debug_email/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/automatic_updates_send_debug_email/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/automatic_updates_send_debug_email/?output_format=md#wp--skip-link--target)

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

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/automatic_updates_send_debug_email/?output_format=md#parameters)󠁿

 `$development_version`bool

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

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/automatic_updates_send_debug_email/?output_format=md#source)󠁿

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

[View all references](https://developer.wordpress.org/reference/files/wp-admin/includes/class-wp-automatic-updater.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/6.9.4/src/wp-admin/includes/class-wp-automatic-updater.php#L766)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-admin/includes/class-wp-automatic-updater.php#L766-L766)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/automatic_updates_send_debug_email/?output_format=md#related)󠁿

| Used by | Description | 
| [WP_Automatic_Updater::run()](https://developer.wordpress.org/reference/classes/wp_automatic_updater/run/)`wp-admin/includes/class-wp-automatic-updater.php` |

Kicks off the background update process, looping through all pending updates.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/automatic_updates_send_debug_email/?output_format=md#changelog)󠁿

| Version | Description | 
| [3.7.0](https://developer.wordpress.org/reference/since/3.7.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fautomatic_updates_send_debug_email%2F)
before being able to contribute a note or feedback.