fbpx

Controlling Plugin and Theme auto-update email notifications and Site Health infos in WP 5.5

GET UP TO $500K IN BUSINESS FUNDING

This is the second part of the plugins and themes auto-updates dev notes for WordPress 5.5. The first part was dedicated to Controlling Plugins and Themes auto-updates user interface.

Plugin and Theme auto-update email notifications

As of WordPress 5.5, email notifications will be sent after each attempt to auto-update a plugin or theme regardless of outcome (success or failure).

Here’s what you need to know about these emails.

Filtering the emails

Using the auto_plugin_theme_update_email hook, the recipient, subject, headers, and email content can be filtered to adjust a site’s needs.

Example of use:

<?php function myplugin_auto_plugin_theme_update_email( $email, $type, $successful_updates,

This post was originally published on this site

BUILD A WEBSITE: RESOURCES

Pin It on Pinterest

Share This
Xiphos Web Marketing

FREE
VIEW