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.
Snippets tagged: performance
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.
Completely removes the WordPress Heartbeat by deregistering the script.
Quick snippet that prevents cart fragments from being updated in WooCommerce.