Total Space Saved: calculate_total_space_saved() ) ); ?>

Clean Drafts

Clean Drafts ()

Remove unused or outdated draft posts

Clean Auto-Drafts

Clean Auto-Drafts ()

Remove automatically saved drafts that are no longer needed

Clean Trashed Posts

Clean Trashed Posts ()

Delete posts that are still in the trash.

Clean Unapproved Comments

Clean Unapproved Comments ()

Remove unapproved comments to reduce database bloat.

Clean Orphaned Media

Clean Orphaned Media ()

Delete unused media files that are not linked to content.

Clean Post Revisions

Clean Post Revisions ()

Remove old revisions to optimize your database.

Clean Transients

Clean Transients ()

Clear expired or unused transients to reduce database clutter.

Clean Spam Comments

Clean Spam Comments ()

Delete spam comments detected by Akismet or other filters.

Optimize Database

Optimize Database

Optimize Database ()

Optimize database tables to improve performance and reduce overhead.

Scheduled Cleanup Settings

Perform automatic cleanup daily to maintain site performance.
Perform automatic cleanup weekly to reduce database bloat.

get_results( $wpdb->prepare( "SELECT * FROM {$wpdb->prefix}acmt_logs ORDER BY cleaned_on DESC LIMIT %d", 10 ) ); // Cache the results if logs are found if ( ! empty( $logs ) ) { wp_cache_set( $cache_key, $logs, '', 3600 ); // Cache for 1 hour } } // Output the logs in a table if (!empty($logs)) { foreach ($logs as $log) { echo ''; } } else { echo ''; } ?>
' . esc_html( gmdate('Y-m-d', strtotime($log->cleaned_on)) ) . ' ' . esc_html($log->cleanup_type) . ' ' . esc_html("Removed {$log->cleaned_count} items") . '
No logs available.

prefix . 'acmt_backups'; $backups = $wpdb->get_results( "SELECT * FROM {$backups_table} ORDER BY created_on DESC LIMIT 10" ); if ( ! empty( $backups ) ) : foreach ( $backups as $backup ) : ?>
backup_id, 0, 12 ) . '...' ); ?> backup_type ) ); ?> cleanup_type ? ucwords( str_replace( '_', ' ', $backup->cleanup_type ) ) : '-' ); ?> file_size ) ); ?> created_on ) ); ?>