WordPress at a glance
function is not described

wc_set_time_limit() WC 2.6.0

Wrapper for set_time_limit to see if it is enabled.

No Hooks.

Return

null. Nothing.

Usage

wc_set_time_limit( $limit );
$limit(int)
Time limit.

Changelog

Since 2.6.0 Introduced.

Code of wc_set_time_limit() WC 5.3.0

<?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
	}
}