W3cubDocs

/WordPress

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

$enabled

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

$update_results

(array) The results of plugins update tasks.

Source

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

View on Trac

Changelog

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

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/auto_plugin_update_send_email