In WordPress, a plugin placed in the mu-plugins folder isn't considered active or installed, ie
in_array( 'some-mu-plugin/plugin.php', get_plugins() ) === false
is_plugin_active( 'some-mu-plugin/plugin.php' ) === false
In my experience, a plugin dependent on another has used a callback to check if it is present:
if ( function_exists( 'wc_get_products' ) ) {
// WooCommerce is active, dependency met.
}
How will the plugin dependencies handle such a situation gracefully?
In WordPress, a plugin placed in the mu-plugins folder isn't considered active or installed, ie
In my experience, a plugin dependent on another has used a callback to check if it is present:
How will the plugin dependencies handle such a situation gracefully?