} } define('SLPLUS_COREURL', SLPLUS_PLUGINURL); //==================================================================== // Main Plugin Configuration //==================================================================== /** * @var SLPlus $slplus_plugin */ global $slplus_plugin; if (defined('SLPLUS_PLUGINDIR') && !is_a($slplus_plugin, 'SLPlus')) { if (class_exists('SLPlus') == false) { require_once SLPLUS_PLUGINDIR . 'include/class.slplus.php'; } $slplus_plugin = new SLPlus(); $slplus_plugin->initialize(); } //==================================================================== // Add Required Libraries //==================================================================== // Errors? // if ($error != '') { $slplus_plugin->notifications->add_notice(4, $error); } // General WP Action Interface // require_once SLPLUS_PLUGINDIR . 'include/class.actions.php'; $slplus_plugin->Actions = new SLPlus_Actions(array('uses_slplus' => true)); require_once SLPLUS_PLUGINDIR . 'include/class.activation.php'; require_once SLPLUS_PLUGINDIR . 'include/class.ui.php';