BP_Document::bp_document_set_time_limit( $time_limit )
Helper to set the max_execution_time.
Description
Source
File: bp-document/classes/class-bp-document.php
static function bp_document_set_time_limit( $time_limit ) {
$max_execution_time = ini_get( 'max_execution_time' );
if ( $max_execution_time && $time_limit > $max_execution_time ) {
return @ set_time_limit( $time_limit );
}
return null;
}
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.