Created
February 25, 2022 12:31
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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