Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vcat-support/09d72df61d084ab3250d491408c1e824 to your computer and use it in GitHub Desktop.
Save vcat-support/09d72df61d084ab3250d491408c1e824 to your computer and use it in GitHub Desktop.
Example on how to increase the value of the `max_execution_time` php ini variable.
<?php
/**
* Plugin Name: Bulk Download for Gravity Forms - Increase max_execution_time
* Description: Example on how to increase the value of the `max_execution_time` php ini variable.
* Author: VCAT Consulting GmbH
* Author URI: https://www.vcat.de
*/
/**
* Increase the max_execution_time to 300 seconds
*
* @return int
*/
function my_bdfgf_max_execution_time() {
return 300;
}
add_filter( 'bdfgf_max_execution_time', 'my_bdfgf_max_execution_time' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment