You appear to be a bot. Output may be restricted
Description
Determine if the library has been checked for dependenciesIf the library is already loaded then we assume that its dependencies have been checked. If the library has already been checked then we don't need to do it again. Each library that's checked is added to the array of checked libraries.
Usage
$object = OIK_libs::checked( $lib );
Parameters
- $lib
- ( object ) required –
Returns
object the checked library object or nullSource
File name: oik-lib/includes/class-oik-libs.phpLines:
1 to 7 of 7
function checked( $lib ) { $checked = $this->is_loaded( $lib->library, $lib->version ); $checked = bw_array_get( $this->checked_libraries, $lib->library, $checked ); $this->checked_libraries[ $lib->library ] = $lib; bw_trace2( $checked, "checked", true, BW_TRACE_VERBOSE ); return( $checked ); }View on GitHub