What code do I need to use to display the WordPress memory limit and WordPress maximum memory limit.
In PHP for example, I can just get the memory limit by using:
echo $memory_limit = ini_get('memory_limit');
What would be a similar equivalent in WordPress?
wp_raise_memory_limit
. Is that what you meant? Are your applications using this as a matter of course? They probably shouldn't be. At first glance that's just the WP_MAX_MEMORY_LIMIT constant, ifwp_is_ini_value_changeable( 'memory_limit' )
is true.