This tiny piece of code works wonders! It automatically empties your WordPress Site’s Trash Bin.
If you have ever faced an error that reads “Allowed memory size of xxx bytes exhausted”, then you will have to increase the WordPress memory limit.
While working with PHP, it is quite useful to have functions and code snippets handy that can save you lots of time. Today, I’m going to share with you 10 super useful PHP code snippets.