A slow WordPress admin is usually caused by too many plugins, a bloated database or insufficient PHP memory.
Increase PHP Memory
define('WP_MEMORY_LIMIT', '256M');
define('WP_MAX_MEMORY_LIMIT', '512M');
Clean Database
wp post delete $(wp post list --post_type=revision --format=ids) --force
wp transient delete --expired --all
wp db optimize
Disable Admin Heartbeat
add_action('init', function() {
if (is_admin()) {
wp_deregister_script('heartbeat');
}
});
Conclusion
A fast admin dashboard improves productivity significantly. Our team resolves WordPress performance issues including admin slowness.
Comments