Hunt for certain WordPress user
Search for a certain WordPress user. Will only respond if the account was found. Change user to either the login or email of the person your looking for.
Recipe
Search for a certain WordPress user. Will only respond if the account was found. Change user to either the login or email of the person your looking for.
In rare case while doing a site migration sometimes characters like “ are replaced with “. This will clean up the most common encoding issues.
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…
Removes all inactive themes. Replace keep_if_inactive with list of themes you wish to keep. WordPress recommends at least 1 default theme
Replace YOUR_PRO_LICENSE_KEY with your Advanced Custom Fields Pro license key.
Changes WordPress database prefix by exporting database, updated references and then re-importing database. Be sure to update db_prefix_new to a new database prefix.
Finds and converts any database tables using MyISAM storage engine to InnoDB.
Changes HTTP references to HTTPS for a certain domain name. Replace my-domain-please-change-me.tld with domain you wish to update URLs.
Will download from a Google Drive shared link using wget. Swap out <google-file-id> and <file-name> with Google’s unique file ID shown in shared URL and a file name where you want to download it to.
Inserts must-use plugin to disable outgoing emails.