bp_media_set_time_limit( int $limit )
Wrapper for set_time_limit to see if it is enabled.
Description
Parameters
- $limit
-
(Required) Time limit.
Source
File: bp-media/bp-media-filters.php
function bp_media_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
| Version | Description |
|---|---|
| BuddyBoss 1.4.1 | Introduced. |
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.