apply_filters( 'auto_plugin_update_send_email', bool $enabled, array $update_results )

Filters whether to send an email following an automatic background plugin update.

Parameters Parameters


(bool) True if plugin update notifications are enabled, false otherwise.


(array) The results of plugins update tasks.

Top ↑

Source Source

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

View on Trac

Top ↑

Changelog Changelog

Version Description
5.5.1 Added the $update_results parameter.
5.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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