Lines:
1 to 61 of 61
<?php // (C) Copyright Bobbing Wide 2012-2023 if ( !defined( "OIK_DEPENDS_INCLUDED" ) ) { define( "OIK_DEPENDS_INCLUDED", "3.2.8" ); /** * Dependency checking library functions * * Library: oik-depends * Provides: oik-depends * Type: * * Originally implemented in oik/admin/oik-depends.inc * what we primarily need is for oik_lazy_depends() to be loaded * so that plugins which have dependencies don't need to load their own * dependency checking function. Historically this function was implemented in * a file called oik-activation.inc * * */ /* function bw_get_all_plugin_names() – Returns an associative version of the active plugins array */ /* function bw_ms_get_all_plugin_names() – Return an associative version of the sitewide active plugins array */ if ( !function_exists( "oik_plugin_inactive" ) ) { /* function oik_plugin_inactive() – Produce a message when a dependent plugin is inactive or the wrong version */ } if ( !function_exists( "oik_plugin_plugin_inactive" ) ) { /* function oik_plugin_plugin_inactive() – Display a message when setup is not fully functional due to the dependencies not being activated or installed Note: We can’t use oik APIs here as we don’t know if it’s activated. */ } /* function oik_check_version() – Checks that the version of the plugin is at least the value we specify Notes: If there is no version function then we assume it’s OK If no version is specified then we assume it’s OK We perform string compares on the version – allowing for 1.0.995a etc */ /* function bw_get_active_plugins() – Return an array of ALL active plugins – for single or multisite */ /* function oik_lazy_depends() – Check that the plugins that this plugin is dependent upon are active */ /* function oik_install_plugin() – Produce an install plugin link */ /* function oik_activate_plugin() – Produce an "activate" plugin link */ /* function oik_update_plugin() – Produce an "update" plugin link */ /* function oik_check_installed_plugin() – Find out of we think the plugin is installed but not activated or not even installed */ /* function oik_oik_install_link() – oik_oik_install_link */ } /* end !defined */View on GitHub
Called by
Invoked by
Calls
Call hooks
API Letters: