=' ) ) { require __DIR__ . '/vendor/autoload.php'; /** * Plugin Framework init */ $GLOBALS[A3_RESPONSIVE_SLIDER_PREFIX.'admin_interface'] = new FrameWork\Admin_Interface(); global $a3_responsive_slider_skins_page; $a3_responsive_slider_skins_page = new FrameWork\Pages\Slider_Skins(); global $a3_responsive_slider_card_skin_page; $a3_responsive_slider_card_skin_page = new FrameWork\Pages\Card_Skin(); global $a3_responsive_slider_template_widget_page; $a3_responsive_slider_template_widget_page = new FrameWork\Pages\Template_Widget(); global $a3_responsive_slider_template_mobile_page; $a3_responsive_slider_template_mobile_page = new FrameWork\Pages\Template_Mobile(); $GLOBALS[A3_RESPONSIVE_SLIDER_PREFIX.'admin_init'] = new FrameWork\Admin_Init(); $GLOBALS[A3_RESPONSIVE_SLIDER_PREFIX.'less'] = new FrameWork\Less_Sass(); // End - Plugin Framework init global $a3_rslider_shortcode; $a3_rslider_shortcode = new \A3Rev\RSlider\Shortcode(); } else { return; } /** * Load Localisation files. * * Note: the first-loaded translation file overrides any following ones if the same translation is present. * * Locales found in: * - WP_LANG_DIR/a3-responsive-slider/a3-responsive-slider-LOCALE.mo * - WP_LANG_DIR/plugins/a3-responsive-slider-LOCALE.mo * - /wp-content/plugins/a3-responsive-slider/languages/a3-responsive-slider-LOCALE.mo (which if not found falls back to) */ function a3_responsive_slider_plugin_textdomain() { $locale = apply_filters( 'plugin_locale', get_locale(), 'a3-responsive-slider' ); load_textdomain( 'a3-responsive-slider', WP_LANG_DIR . '/a3-responsive-slider/a3-responsive-slider-' . $locale . '.mo' ); load_plugin_textdomain( 'a3-responsive-slider', false, A3_RESPONSIVE_SLIDER_FOLDER . '/languages/' ); } include ('admin/a3-rslider-admin.php'); register_activation_hook(__FILE__, 'a3_rslider_activated');