// if you embed titan framework in multiple plugins, you will get an error.
// the following codes will check if the "Titan Framework" already activated. If not, then use embed codes
// activate titan framework for options
if ( is_plugin_active('titan-framework/titan-framework.php') ) {
require_once 'lib/titan-framework-checker.php';
} elseif ( !class_exists('TitanFrameworkPlugin') ) {
require_once 'lib/titan-framework/titan-framework.php';
// require_once 'lib/titan-framework/titan-framework-embedder.php'; - NOT WORKING
}
-
This topic was modified 8 years, 2 months ago by tajenli.