wc_set_time_limit( int $limit )
Wrapper for set_time_limit to see if it is enabled.
Description Description
Parameters Parameters
- $limit
-
(Required) Time limit.
Source Source
File: includes/wc-core-functions.php
function wc_set_time_limit( $limit = 0 ) { if ( function_exists( 'set_time_limit' ) && false === strpos( ini_get( 'disable_functions' ), 'set_time_limit' ) && ! ini_get( 'safe_mode' ) ) { // phpcs:ignore PHPCompatibility.IniDirectives.RemovedIniDirectives.safe_modeDeprecatedRemoved @set_time_limit( $limit ); // @codingStandardsIgnoreLine } }
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |