Enables maintenance mode for all non-admin users and displays a simple maintenance message. Perfect for those times that you need to quickly enable maintenance mode without extra plugins or configurations.
This snippet will allow you to automatically empty your post, page, or comment trash inside WordPress. Helpful when you need to keep performance high but don’t want to manually go in and delete things from trash.
If you’re getting an error that your memory limit has been exhausted, or have updated your memory limit in your php.ini but still aren’t getting the results you’re looking for, here’s how to increase it.
Adds a title cased Title and Alt attribute based on filename on upload.
This is the plugin autoloader that I use. Of course, customize it as you see fit.
Completely removes the WordPress Heartbeat by deregistering the script.
Gets the colors being used in the current user’s admin color scheme.
Prints all actions that have fired within a particular request. Useful for debugging.