You appear to be a bot. Output may be restricted
Description
Test if cookie_cat is functionalUnless oik is installed and activated we won't do anything Note: If oik is installed and activated then we would shouldn't have any problem although there could be a version number requirement to satisfy as well! Not yet implemented.
Usage
cookie_cat_lazy_activation( $plugin, $dependencies, $callback );
Parameters
- $plugin
- ( mixed ) optional –
- $dependencies
- ( mixed ) optional –
- $callback
- ( mixed ) optional –
Returns
voidSource
File name: cookie-cat/admin/cookie-cat.phpLines:
1 to 10 of 10
function cookie_cat_lazy_activation( $plugin=null, $dependencies=null, $callback=null ) { if ( function_exists( "oik_depends" ) ) { /* Good - oik appears to be activated and loaded */ oik_depends( $plugin, $dependencies, $callback ); } else { if ( is_callable( $callback )) { call_user_func( $callback, $plugin, $dependencies ); } } }View on GitHub View on Trac