$data) { if ($data['TextDomain'] === $name) { return $plugin; } } return false; } }//end if $extendifyPluginName = extendifyCheckPluginInstalled('extendify'); if ($extendifyPluginName) { // Exit if the library is installed and active. // Remember, this file is only loaded by partner plugins. if (is_plugin_active($extendifyPluginName)) { // If the SDK is active then ignore the partner plugins. $GLOBALS['extendify_sdk_partner'] = 'standalone'; return false; } } // Next is first come, first serve. The later class is left in for historical reasons. if (class_exists('Extendify') || class_exists('ExtendifySdk')) { return false; } require_once plugin_dir_path(__FILE__) . 'extendify.php';