Code-Snippets-Functions/Execute a function on a child site/Gravity Forms/increase-export-max-execution-time.txt

5 lines
204 B
Text

add_filter( 'gform_export_max_execution_time', 'change_export_time', 10, 2 );
function change_export_time( $max_execution_time, $form ){
//change the execution time to 60 seconds
return 60;
}