Archives Recipes


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


Changes HTTP references to HTTPS for a certain domain name. Replace my-domain-please-change-me.tld with domain you wish to update URLs.

Show Kinsta PHP Workers

Lists out current PHP workers on a site hosted with Kinsta. The output will look similar to the following listing the process id, username, command, memory %, CPU % and total time.