increase memory limit wordpress functions.php code example
Example: wordpress max memory limit
define( 'WP_MAX_MEMORY_LIMIT', '256M' ); //BACK-END MEMORY LIMIT
define('WP_MEMORY_LIMIT', '128M'); //FRONT-END MEMORY LIMIT
define( 'WP_MAX_MEMORY_LIMIT', '256M' ); //BACK-END MEMORY LIMIT
define('WP_MEMORY_LIMIT', '128M'); //FRONT-END MEMORY LIMIT