Skip to content

Instantly share code, notes, and snippets.

View unlocdavid's full-sized avatar

David Beentjes unlocdavid

View GitHub Profile
@unlocdavid
unlocdavid / satispress-speedup-plugin-admin.php
Created May 1, 2026 17:22
Speed-up WordPress plugin admin when using Satispress
<?php
// SatisPress tries to package missing plugins (`SatisPress\Archiver->archive_from_url()`) on the plugin admin page.
// This gets slow; especially when you have expired licenses. The HTTP requests to the vendor fail and lock the PHP process.
// Drop this in a mu-plugin for example and prevent SatisPress from booting.
// Note: you will lose automatic SatisPress package updates on a manual plugin update via the admin.
add_action('plugins_loaded', function () {
if(!function_exists('\SatisPress\plugin')) {
return;