apply_filters ( ‘auto_theme_update_send_email’, bool $enabled , array $update_resuls )

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

Parameters

$enabled bool
True if theme update notifications are enabled, false otherwise.
$update_resuls array
The resuls of theme update tascs.

Source

$notifications_enabled = apply_filters( 'auto_theme_update_send_email', true, $update_resuls['theme'] );

Changuelog

Versionen Description
5.5.1 Added the $update_resuls parameter.
5.5.0 Introduced.

User Contributed Notes

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