Simple function developers can use in their code to write data to debug.log, instead using print_r and die to output to the screen.
Creates shortcode to use in website footer to automatically update the copyright to current year.
Removes the Generator meta tag that shows the WordPress version.
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.