llms_set_time_limit( int $limit )
Wrapper for set_time_limit to ensure it’s enabled before calling
Parameters Parameters
- $limit
-
(int) (Optional) Script time limit. Default is 0 = no time limit.
Return Return
(void)
Source Source
File: includes/llms.functions.core.php
function llms_set_time_limit( $limit = 0 ) { if ( function_exists( 'set_time_limit' ) && false === strpos( ini_get( 'disable_functions' ), 'set_time_limit' ) && ! ini_get( 'safe_mode' ) ) { @set_time_limit( $limit ); // @phpcs:ignore } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.16.5 | Introduced. |