[ad_1]
https://i.postimg.cc/MKh1fxCH/image.png
I compare Elementor’s memory listing with that of your Plugin,
I also wrote this and the values were similar to Elementor’s systems information:
// Adiciona informações de memória no topo do painel do WordPress
function marks_memory_info_in_admin_header() {
// Obter o limite de memória do WordPress
$wp_memory_limit = WP_MEMORY_LIMIT;
$wp_max_memory_limit = WP_MAX_MEMORY_LIMIT;
// Obter o limite de memória do PHP
$php_memory_limit = ini_get('memory_limit');
// Exibir as informações
echo '<div style="padding: 10px; background: #f1f1f1; border-bottom: 1px solid #ccc;">';
echo '<strong>WordPress Memory Limit:</strong> ' . esc_html($wp_memory_limit) . '<br>';
echo '<strong>WordPress Max Memory Limit:</strong> ' . esc_html($wp_max_memory_limit) . '<br>';
echo '<strong>PHP Memory Limit:</strong> ' . esc_html($php_memory_limit) . '<br>';
echo '</div>';
}
add_action('in_admin_header', 'marks_memory_info_in_admin_header');Does this 40M limit that my code and Elementor’s code show really make a difference?
