auto_theme_update_send_email

auto_theme_update_send_email

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('auto_theme_update_send_email') is found 1 times:

  • /wp-admin/includes/class-wp-automatic-updater.php line 1189
    1185
    1186
    1187
    1188
    1189
    1190
    1191
    1192
    1193
    1194
    1195
    *
     * @param bool  $enabled        True if theme update notifications are enabled, false otherwise.
     * @param array $update_results The results of theme update tasks.
     */
    $notifications_enabled = apply_filters( 'auto_theme_update_send_email', true, $update_results['theme'] );
     
    if ( $notifications_enabled ) {
        foreach ( $update_results['theme'] as $update_result ) {
            if ( true === $update_result->result ) {
                $successful_updates['theme'][] = $update_result;
            } else {