# Send Automatic Update Emails to Your Developer

> Sends WordPress core, plugin and theme auto-update emails to your developer or agency instead of the site owner, who usually does not need them.

- Type: PHP
- Runs: Run everywhere
- Category: [Email](https://wpide.com/library/category/email/)
- Tags: email, updates, developers
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/email-update-emails-to-developer/

## Code

```php
$wpide_update_recipients = array(); // e.g. array( 'dev@agency.com' ); empty = no change.

$wpide_update_to = function ( $email ) use ( $wpide_update_recipients ) {
    $to = array_values( array_filter( $wpide_update_recipients, 'is_email' ) );

    if ( $to ) {
        $email['to'] = $to;
    }

    return $email;
};

add_filter( 'auto_core_update_email', $wpide_update_to );
add_filter( 'auto_plugin_theme_update_email', $wpide_update_to );
add_filter( 'automatic_updates_debug_email', $wpide_update_to );
```

## Notes

Add one or more addresses at the top; once set, the site owner stops receiving these emails.

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Send Automatic Update Emails to Your Developer" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
