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.


Top ↑

Return Return

(void)


Top ↑

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

	}

}

Top ↑

Changelog Changelog

Changelog
Version Description
3.16.5 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.