This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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; |