auto_theme_update_send_email WordPress Filter Hook

The auto_theme_update_send_email Wordpress hook is used to send an email notification when a theme update is available. This hook can be used by developers to notify their users of available updates, or to provide other information about theme updates.

apply_filters( 'auto_theme_update_send_email', bool $enabled, array $update_results ) #

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


Parameters

$enabled

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

$update_results

(array)The results of theme update tasks.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.5.1Added the $update_results parameter.
5.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.