auto_plugin_update_send_email

auto_plugin_update_send_email

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('auto_plugin_update_send_email') is found 1 times:

  • /wp-admin/includes/class-wp-automatic-updater.php line 1166
    1162
    1163
    1164
    1165
    1166
    1167
    1168
    1169
    1170
    1171
    1172
    *
     * @param bool  $enabled        True if plugin update notifications are enabled, false otherwise.
     * @param array $update_results The results of plugins update tasks.
     */
    $notifications_enabled = apply_filters( 'auto_plugin_update_send_email', true, $update_results['plugin'] );
     
    if ( $notifications_enabled ) {
        foreach ( $update_results['plugin'] as $update_result ) {
            if ( true === $update_result->result ) {
                $successful_updates['plugin'][] = $update_result;
            } else {