WordPress at a glance
filter is not described

auto_theme_update_send_email filter-hook . WP 5.5.0

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

Usage

add_filter( 'auto_theme_update_send_email', 'filter_function_name_8826', 10, 2 );
function filter_function_name_8826( $enabled, $update_results ){
	// filter...

	return $enabled;
}
$enabled(true/false)
True if notifications are enabled, false otherwise.
$update_results(array)
The results of theme update tasks.

Список изменений

С версии 5.5.0 Введена.
С версии 5.5.1 Added the $update_results parameter.

Где вызывается хук

WP_Automatic_Updater::after_plugin_theme_update()
auto_theme_update_send_email
wp-admin/includes/class-wp-automatic-updater.php 920
$notifications_enabled = apply_filters( 'auto_theme_update_send_email', true, $update_results['theme'] );

Где используется хук в ядре WP

Использование не найдено.