You appear to be a bot. Output may be restricted
Description
Require a file in a libraryLocates and loads a file from a given library in order to make additional functions available to the invoking routine Note: If successful the oik_lib object of the library is returned. It won't show the file name of the file loaded.
Usage
$bool|WP_Error|oik_lib = oik_require_file( $file, $library, $args );
Parameters
- $file
- ( string ) required – the relative file name ( relative to the library's "root" file ) e.g. class-oik-autoload.php
- $library
- ( string ) required – the library name
- $args
- ( array ) optional – additional parameters
Returns
bool|WP_Error|oik_libSource
File name: oik/libs/oik_boot.phpLines:
1 to 11 of 11
function oik_require_file( $file, $library, $args=null ) { //bw_trace2(); if ( function_exists( "oik_libs" ) ) { $oik_libs = oik_libs(); $library_file = $oik_libs->require_file( $file, $library, $args ); } else { $library_file = oik_require_lib_fallback( $file ); } bw_trace2( $library_file, "library_file", true, BW_TRACE_DEBUG ); return( $library_file ); }View on GitHub View on Trac