You appear to be a bot. Output may be restricted
Description
Query the shared libraries availableWe may need to do this for "muplugins_loaded" and "plugins_loaded" So perhaps it's not a good idea to use a bool for did_query_libs; but support multiple invocations controlled by some other mechanism I know. We reset the filter to false when we see "muplugins_loaded" or "plugins_loaded" So it's "do_query_libs" rather than "did_query_libs" eh?
Usage
OIK_libs::query_libs( $force );
Parameters
- $force
- ( bool ) optional – true when you want to force the filter to be re-processed
Returns
voidSource
File name: oik-lib/includes/class-oik-libs.phpLines:
1 to 6 of 6
function query_libs( $force=false ) { if ( !$this->did_query_libs || $force ) { $this->libraries = apply_filters( "oik_query_libs", $this->libraries ); } $this->did_query_libs = true; }View on GitHub