=')) { require_once dirname(__FILE__) . '/includes/fail.php'; add_action('admin_notices', 'smartslider3_fail_php_version'); } else if (!version_compare(get_bloginfo('version'), '4.6', '>=')) { require_once dirname(__FILE__) . '/includes/fail.php'; add_action('admin_notices', 'smartslider3_fail_wp_version'); } else if (!class_exists('SmartSlider3', true)) { add_action('plugins_loaded', 'smart_slider_3_plugins_loaded', 30); function smart_slider_3_plugins_loaded() { define('N2PRO', 0); define('N2SSPRO', 0); define('N2GSAP', 0); define('NEXTEND_SMARTSLIDER_3__FILE__', __FILE__); define('NEXTEND_SMARTSLIDER_3', dirname(__FILE__) . DIRECTORY_SEPARATOR); define('NEXTEND_SMARTSLIDER_3_BASENAME', plugin_basename(__FILE__)); require_once dirname(NEXTEND_SMARTSLIDER_3__FILE__) . DIRECTORY_SEPARATOR . 'includes/smartslider3.php'; add_filter("plugin_action_links_" . NEXTEND_SMARTSLIDER_3_BASENAME, 'N2_SMARTSLIDER_3_UPGRADE_TO_PRO'); function N2_SMARTSLIDER_3_UPGRADE_TO_PRO($links) { if (function_exists('is_plugin_active') && !is_plugin_active('nextend-smart-slider3-pro/nextend-smart-slider3-pro.php')) { if (!is_array($links)) { $links = array(); } $links[] = '' . "Go Pro" . ''; } return $links; } N2Pluggable::addAction('animationFramework', 'N2AssetsPredefined::custom_animation_framework'); } }