Advertisement

Summery Summery

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

Syntax Syntax

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

Parameters Parameters

$enabled

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

$update_results

(array) The results of plugins update tasks.

Source Source

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

Advertisement

Changelog Changelog

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

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.