Description
Enable autoloadingSome logic requires additional classes to be loaded but first we need to enable autoloading
Usage
$bool = oiksc_autoload();Parameters
Returns
bool true if oik_autoloading is enabledSource
File name: oik-shortcodes/oik-shortcodes.phpLines:
1 to 12 of 12
function oiksc_autoload() { $autloaded = false; $lib_autoload = oik_require_lib( "oik-autoload" ); if ( $lib_autoload && !is_wp_error( $lib_autoload ) ) { oik_autoload(); $autoloaded = true; } else { bw_trace2( $lib_autoload, "oik-autoload not loaded", false, BW_TRACE_ERROR ); } return( $autoloaded ); }View on GitHub
Called by
1 to 10 of 10
- oikai_apiref() – Implement the [bw_api] shortcode
- oikai_fileref() – Implement [file] shortcode for oik-files
- oiksc_ajax_oiksc_create_api() – Implement "wp_ajax_oiksc_create_api" action for oik-shortcodes
- oiksc_ajax_oiksc_create_file() – Implement "wp_ajax_oiksc_create_file" action for oik-shortcodes
- oiksc_create_api() – Respond to the submit button by creating an oik_api
- oiksc_genesis_404() – Implement ‘genesis_404’ action for oik-shortcodes
- oiksc_get_permalink() – Return a permalink
- oiksc_preloader() – Preload the libraries used in create_file and create_api
- set_md5_hash_loaded() – set _oik_md5_hash
- set_oik_api_calls() – set _oik_md5_hash
