Are you looking for a way to increase the built-in memory limit in WordPress? While there’s probably a plugin for this, we have created a quick code snippet that you can use to increase memory limit in WordPress.
Instructions:
All you have to do is add this code to your wp-config.php file:
define('WP_MEMORY_LIMIT', '96M');
Note: If this is your first time adding code snippets in WordPress, then please refer to our guide on how to properly add code snippets in WordPress, so you don’t accidentally break your site.
If you liked this code snippet, please consider checking out our other articles on the site like: 24 best WordPress themes for membership sites and how to set up Shopify with WordPress.
thanks for this piece of code as it is vital for my website.