Archives Recipes


Fetch database autoload size

Generally a good idea to keep your database autoload below 1MB in size. You can see the current usage with the following. For optimizing, I recommend reviewing Kinsta’s guide:

Fetch PHP memory limit

WordPress’ memory limit can be independently set to anything however will not go over PHP’s own limit. This will retrieve PHP’s memory limit. Will attempt to retrieve from default location for Kinsta sites then fallback to what PHP’s loaded ini…

Delete Inactive Themes

Removes all inactive themes. Replace keep_if_inactive with list of themes you wish to keep. WordPress recommends at least 1 default theme