xxxxxxxxxx
$max_time = ini_get("max_execution_time");
echo $max_time;
xxxxxxxxxx
1- Increasing PHP Time Limit via PHP.ini file
max_execution_time = 300;
2- Alternative to editing PHP.ini through wp-config.php
set_time_limit(300);
3- Modifying the .htaccess file
max_execution 300