* License: GNU General Public License v3.0
 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
 *
 * @package     WC-Authorize-Net-CIM
 * @author      SkyVerge
 * @category    Payment-Gateways
 * @copyright   Copyright (c) 2013-2016, SkyVerge, Inc.
 * @license     http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
 */
defined('ABSPATH') or exit;
// Required functions
if (!function_exists('woothemes_queue_update')) {
    require_once plugin_dir_path(__FILE__) . 'woo-includes/woo-functions.php';
}
// Plugin updates
woothemes_queue_update(plugin_basename(__FILE__), '8b61524fe53add7fdd1a8d1b00b9327d', '178481');
// WC active check
if (!is_woocommerce_active()) {
    return;
}
// Required library class
if (!class_exists('SV_WC_Framework_Bootstrap')) {
    require_once plugin_dir_path(__FILE__) . 'lib/skyverge/woocommerce/class-sv-wc-framework-bootstrap.php';
}
SV_WC_Framework_Bootstrap::instance()->register_plugin('4.4.1', __('WooCommerce Authorize.Net CIM Gateway', 'woocommerce-gateway-authorize-net-cim'), __FILE__, 'init_woocommerce_gateway_authorize_net_cim', array('is_payment_gateway' => true, 'minimum_wc_version' => '2.4.13', 'minimum_wp_version' => '4.1', 'backwards_compatible' => '4.4.0'));
function init_woocommerce_gateway_authorize_net_cim()
{
    /**
     * # WooCommerce Authorize.Net CIM Gateway Main Plugin Class
     *
     * ## Plugin Overview
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * @package		WooCommerce Subscriptions
 * @author		Brent Shepherd
 * @since		1.0
 */
/**
 * Required functions
 */
if (!function_exists('woothemes_queue_update') || !function_exists('is_woocommerce_active')) {
    require_once 'woo-includes/woo-functions.php';
}
/**
 * Plugin updates
 */
woothemes_queue_update(plugin_basename(__FILE__), '6115e6d7e297b623a169fdcf5728b224', '27147');
/**
 * Check if WooCommerce is active, and if it isn't, disable Subscriptions.
 *
 * @since 1.0
 */
if (!is_woocommerce_active()) {
    add_action('admin_notices', 'WC_Subscriptions::woocommerce_inactive_notice');
    return;
}
require_once 'classes/class-wc-subscriptions-coupon.php';
require_once 'classes/class-wc-subscriptions-product.php';
require_once 'classes/class-wc-subscriptions-admin.php';
require_once 'classes/class-wc-subscriptions-manager.php';
require_once 'classes/class-wc-subscriptions-cart.php';
require_once 'classes/class-wc-subscriptions-order.php';
 * Requires at least: 3.5
 * Tested up to: 4.3.1
 * Text Domain: woocommerce-smart-coupons
 * Domain Path: /languages/
 * Copyright (c) 2012, 2013, 2014, 2015 Store Apps All rights reserved.
*/
/**
 * Required functions
 */
if (!function_exists('woothemes_queue_update')) {
    require_once 'woo-includes/woo-functions.php';
}
/**
 * Plugin updates
 */
woothemes_queue_update(plugin_basename(__FILE__), '05c45f2aa466106a466de4402fff9dde', '18729');
/**
 * On activation
 */
register_activation_hook(__FILE__, 'smart_coupon_activate');
/**
 * Database changes required for Smart Coupons
 *
 * Add option 'smart_coupon_email_subject' if not exists
 * Enable 'Auto Generation' for Store Credit (discount_type: 'smart_coupon') not having any customer_email
 * Disable 'apply_before_tax' for all Store Credit (discount_type: 'smart_coupon')
 */
function smart_coupon_activate()
{
    global $wpdb, $blog_id;
    if (is_multisite()) {
	Stripe Docs: https://stripe.com/docs
*/
if (!defined('ABSPATH')) {
    exit;
}
/**
 * Required functions
 */
if (!function_exists('woothemes_queue_update')) {
    require_once 'woo-includes/woo-functions.php';
}
/**
 * Plugin updates
 */
woothemes_queue_update(plugin_basename(__FILE__), 'b022f53cd049144bfd02586bdc0928cd', '18627');
/**
 * Main Stripe class which sets the gateway up for us
 */
class WC_Stripe
{
    /**
     * Constructor
     */
    public function __construct()
    {
        define('WC_STRIPE_VERSION', '2.4.0');
        define('WC_STRIPE_TEMPLATE_PATH', untrailingslashit(plugin_dir_path(__FILE__)) . '/templates/');
        define('WC_STRIPE_PLUGIN_URL', untrailingslashit(plugins_url(basename(plugin_dir_path(__FILE__)), basename(__FILE__))));
        define('WC_STRIPE_MAIN_FILE', __FILE__);
        // Actions
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

*/
/**
 * Required functions
 */
if (!function_exists('woothemes_queue_update')) {
    require_once 'woo-includes/woo-functions.php';
}
/**
 * Plugin updates
 */
woothemes_queue_update(plugin_basename(__FILE__), '3920e2541c6030c45f6ac8ccb967d9d5', '184638');
define("CONVERTED", 'Converted');
define("ABANDONED", 'Abandoned');
define("OPEN", 'Open');
define("ONEDAY", 86400);
if (is_woocommerce_active()) {
    /**
     * Localisation
     **/
    load_plugin_textdomain('woocommerce_cart_reports', false, dirname(plugin_basename(__FILE__)) . '/languages/');
    include plugin_dir_path(__FILE__) . '/models/AV8_Cart_Actions.php';
    include plugin_dir_path(__FILE__) . '/models/AV8_Cart_Receipt.php';
    include plugin_dir_path(__FILE__) . '/admin/cart_index_interface.php';
    include plugin_dir_path(__FILE__) . '/admin/cart_edit_interface.php';
    include plugin_dir_path(__FILE__) . '/admin/cart_reports_settings.php';
    include plugin_dir_path(__FILE__) . '/admin/cart_reports_dashboard.php';
 * License: GPL-2.0+
 * Domain: woocommerce-360-image
 *
 * (c) Bryce Adams
 *
 */
// If this file is called directly, abort.
if (!defined('WPINC')) {
    die;
}
// Required Functions (Woo Updater)
if (!function_exists('woothemes_queue_update')) {
    require_once 'woo-includes/woo-functions.php';
}
// Plugin updates
woothemes_queue_update(plugin_basename(__FILE__), '24eb2cfa3738a66bf3b2587876668cd2', '512186');
/**
 * Check if WooCommerce is active
 **/
if (in_array('woocommerce/woocommerce.php', apply_filters('active_plugins', get_option('active_plugins')))) {
    // Brace Yourself
    require_once plugin_dir_path(__FILE__) . 'includes/class-wc360.php';
    require_once plugin_dir_path(__FILE__) . 'includes/class-wc360-display.php';
    require_once plugin_dir_path(__FILE__) . 'includes/class-wc360-settings.php';
    require_once plugin_dir_path(__FILE__) . 'includes/class-wc360-meta.php';
    require_once plugin_dir_path(__FILE__) . 'includes/class-wc360-shortcode.php';
    // Start the Engines
    register_activation_hook(__FILE__, array('WC_360_Image', 'activate'));
    // Vroom.. Vroom..
    add_action('plugins_loaded', array('WC_360_Image', 'get_instance'));
    add_action('plugins_loaded', array('WC_360_Image_Settings', 'get_instance'));
 * @package   WC-Product-Reviews-Pro
 * @author    SkyVerge
 * @category  Reviews
 * @copyright Copyright (c) 2015, SkyVerge, Inc.
 * @license   http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
 */
if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
// Required functions
if (!function_exists('woothemes_queue_update')) {
    require_once 'woo-includes/woo-functions.php';
}
// Plugin updates
woothemes_queue_update(plugin_basename(__FILE__), '43662c2508f9242c6ba1da8c535510a0', '570800');
// WC active check
if (!is_woocommerce_active()) {
    return;
}
// Required library class
if (!class_exists('SV_WC_Framework_Bootstrap')) {
    require_once 'lib/skyverge/woocommerce/class-sv-wc-framework-bootstrap.php';
}
SV_WC_Framework_Bootstrap::instance()->register_plugin('3.1.0', __('WooCommerce Product Reviews Pro', 'woocommerce-product-reviews-pro'), __FILE__, 'init_woocommerce_product_reviews_pro', array('minimum_wc_version' => '2.1', 'backwards_compatible' => '3.1.0'));
function init_woocommerce_product_reviews_pro()
{
    /**
     * # WooCommerce Product Reviews Pro Main Plugin Class
     *
     * ## Plugin Overview
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
/** Path and URL constants **/
define('FUE_VERSION', '4.1.7');
define('FUE_KEY', 'aHR0cDovLzc1bmluZXRlZW4uY29tL2Z1ZS5waH');
define('FUE_FILE', __FILE__);
define('FUE_URL', plugins_url('', __FILE__));
define('FUE_DIR', plugin_dir_path(__FILE__));
define('FUE_INC_DIR', FUE_DIR . 'includes');
define('FUE_INC_URL', FUE_URL . '/includes');
define('FUE_ADDONS_DIR', FUE_DIR . '/addons');
define('FUE_ADDONS_URL', FUE_URL . '/addons');
define('FUE_TEMPLATES_DIR', FUE_DIR . 'templates');
define('FUE_TEMPLATES_URL', FUE_URL . '/templates');
/**
 * Required functions
 */
if (!function_exists('woothemes_queue_update')) {
    require_once 'woo-includes/woo-functions.php';
}
/**
 * Plugin updates
 */
woothemes_queue_update(plugin_basename(__FILE__), '05ece68fe94558e65278fe54d9ec84d2', '18686');
load_plugin_textdomain('follow_up_emails', false, dirname(plugin_basename(__FILE__)) . '/languages/');
global $fue, $wpdb;
require_once FUE_INC_DIR . '/class-follow-up-emails.php';
$fue = new Follow_Up_Emails($wpdb);
Пример #9
0
 * @package   WC-Customer-CSV-Import-Suite
 * @author    SkyVerge
 * @category  Importer
 * @copyright Copyright (c) 2012-2014, SkyVerge, Inc.
 * @license   http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
 */
if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
// Required functions
if (!function_exists('woothemes_queue_update')) {
    require_once 'woo-includes/woo-functions.php';
}
// Plugin updates
woothemes_queue_update(plugin_basename(__FILE__), 'eb00ca8317a0f64dbe185c995e5ea3df', '18709');
// WC active check/is admin
if (!is_woocommerce_active() || !is_admin()) {
    return;
}
// Required library classss
if (!class_exists('SV_WC_Framework_Bootstrap')) {
    require_once 'lib/skyverge/woocommerce/class-sv-wc-framework-bootstrap.php';
}
SV_WC_Framework_Bootstrap::instance()->register_plugin('2.1', __('WooCommerce Customer/Order CSV Import', 'woocommerce-customer-order-csv-import'), __FILE__, 'init_woocommerce_customer_order_csv_import');
function init_woocommerce_customer_order_csv_import()
{
    /**
     * Customer/Order/Coupon CSV Import Suite Main Class.  This class is responsible
     * for registering the importers and setting up the admin start page/menu
     * items.  The actual import process is handed off to the various parse
Plugin URI: http://woothemes.com/woocommerce
Description: WooCommerce extension for creating configurable product bundles, kits and assemblies.
Author: SomewhereWarm
Author URI: http://www.somewherewarm.net/
Version: 2.53
*/
/**
 * Required functions
 */
if (!function_exists('woothemes_queue_update')) {
    require_once 'woo-includes/woo-functions.php';
}
/**
 * Plugin updates
 */
woothemes_queue_update(plugin_basename(__FILE__), 'fbca839929aaddc78797a5b511c14da9', '18716');
if (is_woocommerce_active()) {
    class WC_Product_Bundles
    {
        var $is_wc_v2 = false;
        public function __construct()
        {
            add_action('plugins_loaded', array(&$this, 'woo_bundles_plugins_loaded'));
            add_action('init', array(&$this, 'woo_bundles_init'));
            add_action('admin_init', array(&$this, 'woo_bundles_admin_init'));
        }
        function is_wc_v2()
        {
            return $this->is_wc_v2;
        }
        function woo_bundles_plugin_url()
Пример #11
0
	Author URI: http://woothemes.com

	Copyright: 2009-2011 WooThemes.
	License: GNU General Public License v3.0
	License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
/**
 * Required functions
 */
if (!function_exists('woothemes_queue_update')) {
    require_once 'woo-includes/woo-functions.php';
}
/**
 * Plugin updates
 */
woothemes_queue_update(plugin_basename(__FILE__), '8dae58502913bac0fbcdcaba515ea998', '18665');
/**
 * Plugin activation check
 */
function wc_ups_activation_check()
{
    if (!function_exists('simplexml_load_string')) {
        deactivate_plugins(basename(__FILE__));
        wp_die("Sorry, but you can't run this plugin, it requires the SimpleXML library installed on your server/hosting to function.");
    }
}
register_activation_hook(__FILE__, 'wc_ups_activation_check');
/**
 * Localisation
 */
load_plugin_textdomain('wc_ups', false, dirname(plugin_basename(__FILE__)) . '/languages/');
Пример #12
0
Author URI: http://woothemes.com

	Copyright: © 2009-2016 WooThemes.
	License: GNU General Public License v3.0
	License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
/**
 * Required functions
 */
if (!function_exists('woothemes_queue_update')) {
    require_once 'woo-includes/woo-functions.php';
}
/**
 * Plugin updates
 */
woothemes_queue_update(plugin_basename(__FILE__), '619c6e57ce72c49c4b57e15b06eddb65', '187509');
/**
 * Plugin page links
 */
function wc_quick_view_plugin_links($links)
{
    $plugin_links = array('<a href="http://support.woothemes.com/">' . __('Support', 'wc_quick_view') . '</a>', '<a href="http://docs.woothemes.com/document/woocommerce-quick-view/">' . __('Docs', 'wc_quick_view') . '</a>');
    return array_merge($plugin_links, $links);
}
add_filter('plugin_action_links_' . plugin_basename(__FILE__), 'wc_quick_view_plugin_links');
if (is_woocommerce_active()) {
    /**
     * Localisation
     **/
    load_plugin_textdomain('wc_quick_view', false, dirname(plugin_basename(__FILE__)) . '/');
    /**
        $html .= '</p>';
        $html .= '</div><!-- /.updated -->';
        echo $html;
    }
}
add_action('admin_notices', 'woocommerce_gateway_klarna_welcome_notice');
/**
 * Required functions
 */
if (!function_exists('woothemes_queue_update')) {
    require_once 'woo-includes/woo-functions.php';
}
/**
 * Plugin updates
 */
woothemes_queue_update(plugin_basename(__FILE__), '4edd8b595d6d4b76f31b313ba4e4f3f6', '18624');
/**
 * Check if update is from 1.x to 2.x
 *
 * Names for these two options for changed, for better naming standards, so option values
 * need to be copied from old options.
 */
function klarna_2_update()
{
    // Invoice
    if (false == get_option('woocommerce_klarna_invoice_settings')) {
        if (get_option('woocommerce_klarna_settings')) {
            add_option('woocommerce_klarna_invoice_settings', get_option('woocommerce_klarna_settings'));
        }
    }
    // Part Payment
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
/**
 * Required functions
 */
if (!function_exists('woothemes_queue_update')) {
    require_once 'woo-includes/woo-functions.php';
}
require_once 'class.ms_compat.php';
/**
 * Plugin updates
 */
woothemes_queue_update(plugin_basename(__FILE__), 'aa0eb6f777846d329952d5b891d6f8cc', '18741');
if (is_woocommerce_active()) {
    /**
     * Localisation
     **/
    load_plugin_textdomain('wc_shipping_multiple_address', false, dirname(plugin_basename(__FILE__)) . '/languages/');
    class WC_Ship_Multiple
    {
        const FILE = __FILE__;
        public $checkout;
        public $notes;
        public $gifts;
        public $meta_key_order = '_shipping_methods';
        public $meta_key_settings = '_shipping_settings';
        public $settings = null;
        public $gateway_settings = null;
Пример #15
0
 Tested up to: 4.6.1

 Copyright: © 2009-2016 Lucas Stark.
 License: GNU General Public License v3.0
 License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
/**
 * Required functions
 */
if (!function_exists('woothemes_queue_update')) {
    require_once 'woo-includes/woo-functions.php';
}
/**
 * Plugin updates
 */
woothemes_queue_update(plugin_basename(__FILE__), '37bea8d549df279c8278878d081b062f', '18697');
if (is_woocommerce_active()) {
    require 'classes/class-wc-swatches-compatibility.php';
    add_action('init', 'wc_swatches_and_photos_load_textdomain', 0);
    function wc_swatches_and_photos_load_textdomain()
    {
        $locale = apply_filters('plugin_locale', get_locale(), 'wc_swatches_and_photos');
        load_textdomain('wc_swatches_and_photos', WP_LANG_DIR . '/woocommerce/wc_swatches_and_photos-' . $locale . '.mo');
        load_plugin_textdomain('wc_swatches_and_photos', false, plugin_basename(dirname(__FILE__)) . '/i18n/languages');
    }
    add_action('plugins_loaded', 'wc_swatches_on_plugin_loaded');
    function wc_swatches_on_plugin_loaded()
    {
        if (apply_filters('woocommerce_swatches_load_previous_version', false) === false && WC_Swatches_Compatibility::is_wc_version_gte_2_4()) {
            class WC_SwatchesPlugin
            {
 * @package   WC-Order-Status-Manager
 * @author    SkyVerge
 * @category  Integration
 * @copyright Copyright (c) 2015, SkyVerge, Inc.
 * @license   http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
 */
if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
// Required functions
if (!function_exists('woothemes_queue_update')) {
    require_once plugin_dir_path(__FILE__) . 'woo-includes/woo-functions.php';
}
// Plugin updates
woothemes_queue_update(plugin_basename(__FILE__), '51fd9ab45394b4cad5a0ebf58d012342', '588398');
// WC active check
if (!is_woocommerce_active()) {
    return;
}
// Required library class
if (!class_exists('SV_WC_Framework_Bootstrap')) {
    require_once plugin_dir_path(__FILE__) . 'lib/skyverge/woocommerce/class-sv-wc-framework-bootstrap.php';
}
SV_WC_Framework_Bootstrap::instance()->register_plugin('4.0.0', __('WooCommerce Order Status Manager', 'woocommerce-order-status-manager'), __FILE__, 'init_woocommerce_order_status_manager', array('minimum_wc_version' => '2.2', 'backwards_compatible' => '4.0.0'));
function init_woocommerce_order_status_manager()
{
    /**
     * # WooCommerce Order Status Manager Main Plugin Class
     *
     * ## Plugin Overview
Author URI: http://woothemes.com

Copyright: © 2009-2015 WooThemes.
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
/**
 * Required functions
 */
if (!function_exists('woothemes_queue_update')) {
    require_once 'woo-includes/woo-functions.php';
}
/**
 * Plugin updates
 */
woothemes_queue_update(plugin_basename(__FILE__), '2b8029f0d7cdd1118f4d843eb3ab43ff', '184594');
if (is_woocommerce_active()) {
    /**
     * Localisation
     */
    load_plugin_textdomain('wc_checkout_fields', false, dirname(plugin_basename(__FILE__)) . '/languages/');
    /**
     * woocommerce_init_checkout_field_editor function.
     */
    function woocommerce_init_checkout_field_editor()
    {
        global $supress_field_modification;
        $supress_field_modification = false;
        if (!class_exists('WC_Checkout_Field_Editor')) {
            require_once 'classes/class-wc-checkout-field-editor.php';
        }
	License: GNU General Public License v3.0
	License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
if (!defined('ABSPATH')) {
    exit;
}
/**
 * Required functions
 */
if (!function_exists('woothemes_queue_update')) {
    require_once 'woo-includes/woo-functions.php';
}
/**
 * Plugin updates
 */
woothemes_queue_update(plugin_basename(__FILE__), '147d0077e591e16db9d0d67daeb8c484', '18618');
if (is_woocommerce_active()) {
    /**
     * Main class
     */
    class WC_Product_Addons
    {
        /**
         * Constructor
         */
        public function __construct()
        {
            if (is_admin()) {
                include_once 'admin/class-product-addon-admin.php';
            }
            include_once 'classes/class-product-addon-display.php';
 * @package   WC-Measurement-Price-Calculator
 * @author    SkyVerge
 * @category  Plugin
 * @copyright Copyright (c) 2012-2014, SkyVerge, Inc.
 * @license   http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
 */
if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
// Required functions
if (!function_exists('woothemes_queue_update')) {
    require_once 'woo-includes/woo-functions.php';
}
// Plugin updates
woothemes_queue_update(plugin_basename(__FILE__), 'be4679e3d3b24f513b2266b79e859bab', '18735');
// WC active check
if (!is_woocommerce_active()) {
    return;
}
// Required library classss
if (!class_exists('SV_WC_Framework_Bootstrap')) {
    require_once 'lib/skyverge/woocommerce/class-sv-wc-framework-bootstrap.php';
}
SV_WC_Framework_Bootstrap::instance()->register_plugin('3.0.0', __('WooCommerce Measurement Price Calculator', 'woocommerce-measurement-price-calculator'), __FILE__, 'init_woocommerce_measurement_price_calculator', array('minimum_wc_version' => '2.1', 'backwards_compatible' => '3.0.0'));
function init_woocommerce_measurement_price_calculator()
{
    /**
     * # Main WooCommerce Measurement Price Calculator Class
     *
     * ## Plugin Overview
 *
 * @todo Investiate fesibility of line item tracking before marking order complete.
*/
if (!defined('ABSPATH')) {
    exit;
}
/**
 * Required functions
 */
if (!function_exists('woothemes_queue_update')) {
    require_once 'woo-includes/woo-functions.php';
}
/**
 * Plugin updates
 */
woothemes_queue_update(plugin_basename(__FILE__), '9de8640767ba64237808ed7f245a49bb', '18734');
// WC active check
if (!is_woocommerce_active()) {
    return;
}
/**
 * Include shipstation class
 */
function __woocommerce_shipstation_init()
{
    define('WC_SHIPSTATION_VERSION', '4.1.3');
    define('WC_SHIPSTATION_FILE', __FILE__);
    if (!defined('WC_SHIPSTATION_EXPORT_LIMIT')) {
        define('WC_SHIPSTATION_EXPORT_LIMIT', 100);
    }
    load_plugin_textdomain('woocommerce-shipstation', false, basename(dirname(__FILE__)) . '/languages');
Пример #21
0
 * Hook in WooCommerce functionality
 */
if (Sensei_WC::is_woocommerce_active()) {
    add_action('init', array('Sensei_WC', 'load_woocommerce_integration_hooks'));
}
/**
 * Load all Template hooks
 */
if (!is_admin()) {
    require_once 'includes/hooks/template.php';
}
/**
 * Plugin updates
 * @since  1.0.1
 */
woothemes_queue_update(plugin_basename(__FILE__), 'bad2a02a063555b7e2bee59924690763', 152116);
/**
 * Sensei Activation Hook registration
 * @since 1.8.0
 */
register_activation_hook(__FILE__, 'activate_sensei');
/**
 * Activate_sensei
 *
 * All the activation checks needed to ensure Sensei is ready for use
 * @since 1.8.0
 */
function activate_sensei()
{
    // create the teacher role on activation and ensure that it has all the needed capabilities
    Sensei()->teacher->create_role();
 * @author Matty
 */
if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
/**
 * Required functions
 */
if (!function_exists('woothemes_queue_update')) {
    require_once 'woo-includes/woo-functions.php';
}
/**
 * Plugin updates
 */
woothemes_queue_update(plugin_basename(__FILE__), '573a92318244ece5facb449d63e74874', '478542');
/**
 * Initialise the payment gateway.
 * @since  1.0.0
 * @return void
 */
function woocommerce_gateway_purchase_order_init()
{
    // If we don't have access to the WC_Payment_Gateway class, get out.
    if (!class_exists('WC_Payment_Gateway')) {
        return;
    }
    add_filter('woocommerce_payment_gateways', 'woocommerce_gateway_purchase_order_register_gateway');
    // Additional admin screen logic.
    require_once 'classes/class-woocommerce-gateway-purchase-order-admin.php';
    Woocommerce_Gateway_Purchase_Order_Admin();
Tested up to: 4.0

	Copyright: © 2009-2011 WooThemes.
	License: GNU General Public License v3.0
	License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
/**
 * Required functions
 */
if (!function_exists('woothemes_queue_update')) {
    require_once 'woo-includes/woo-functions.php';
}
/**
 * Plugin updates
 */
woothemes_queue_update(plugin_basename(__FILE__), '9349fd0295bd443b4374277b99b7b9a3', '18655');
if (is_woocommerce_active()) {
    /**
     * Localisation
     **/
    load_plugin_textdomain('wc_product_gallery_slider', false, dirname(plugin_basename(__FILE__)) . '/');
    /**
     * woocommerce_product_gallery_slider class
     **/
    if (!class_exists('WC_Product_Gallery_slider')) {
        class WC_Product_Gallery_slider
        {
            public function __construct()
            {
                // Init settings
                $this->settings = array(array('name' => __('Product Gallery Slider', 'wc_product_gallery_slider'), 'type' => 'title', 'desc' => '', 'id' => 'wc_product_gallery_slider_options'), array('name' => __('Enable on product detail pages', 'wc_product_gallery_slider'), 'desc' => __('Display a gallery slider on all product detail pages. This setting can be overridden on a per-product basis.', 'wc_product_gallery_slider'), 'id' => 'woocommerce_product_gallery_slider_enabled', 'type' => 'checkbox'), array('name' => __('Enable on product archives', 'wc_product_gallery_slider'), 'desc' => __('Display all product thumbs as gallery sliders on product archives. This setting can be overridden on a per-product basis.', 'wc_product_gallery_slider'), 'id' => 'woocommerce_product_gallery_slider_archives_enabled', 'type' => 'checkbox'), array('name' => __('Slideshow', 'wc_product_gallery_slider'), 'desc' => __('Automatically rotate through product imagery.', 'wc_product_gallery_slider'), 'id' => 'woocommerce_product_gallery_slider_slideshow', 'type' => 'checkbox'), array('name' => __('Navigation Style', 'wc_product_gallery_slider'), 'desc_tip' => __('Style of the slider navigation', 'wc_product_gallery_slider'), 'id' => 'woocommerce_product_gallery_slider_navigation_style', 'css' => 'min-width:175px;', 'type' => 'select', 'options' => array('thumbnails' => __('Thumbnails', 'wc_product_gallery_slider'), 'radios' => __('Radio buttons', 'wc_product_gallery_slider'))), array('name' => __('Transition Effect', 'wc_product_gallery_slider'), 'desc_tip' => __('Effect for the product gallery slider.', 'wc_product_gallery_slider'), 'id' => 'woocommerce_product_gallery_slider_effect', 'css' => 'min-width:175px;', 'type' => 'select', 'options' => array('fade' => __('Fade', 'wc_product_gallery_slider'), 'slide' => __('Slide', 'wc_product_gallery_slider'))), array('name' => __('Slide Direction', 'wc_product_gallery_slider'), 'desc_tip' => __('Slide animation direction. (Requires "slide" animation style)', 'wc_product_gallery_slider'), 'id' => 'woocommerce_product_gallery_slider_direction', 'css' => 'min-width:175px;', 'type' => 'select', 'options' => array('horizontal' => __('Horizontal', 'wc_product_gallery_slider'), 'vertical' => __('Vertical', 'wc_product_gallery_slider'))), array('name' => __('Slideshow Speed', 'wc_product_gallery_slider'), 'desc_tip' => __('The delay between each slide (in seconds).', 'wc_product_gallery_slider'), 'id' => 'woocommerce_product_gallery_slider_slideshowspeed', 'css' => 'min-width:175px;', 'type' => 'select', 'options' => $this->_get_available_speed_options()), array('name' => __('Animation Speed', 'wc_product_gallery_slider'), 'desc_tip' => __('The speed of each slide/fade animation (in seconds).', 'wc_product_gallery_slider'), 'id' => 'woocommerce_product_gallery_slider_animationspeed', 'css' => 'min-width:175px;', 'type' => 'select', 'options' => $this->_get_available_speed_options()), array('type' => 'sectionend', 'id' => 'wc_product_gallery_slider_options'));
/**
 * Required functions
 **/
if (!class_exists('WP_List_Table')) {
    require_once ABSPATH . 'wp-admin/includes/class-wp-list-table.php';
}
if (!class_exists('WC_Stock_Management_List_Table')) {
    require_once 'classes/class-wc-stock-management-list-table.php';
}
if (!function_exists('woothemes_queue_update')) {
    require_once 'woo-includes/woo-functions.php';
}
/**
 * Plugin updates
 */
woothemes_queue_update(plugin_basename(__FILE__), '02f4328d52f324ebe06a78eaaae7934f', '18670');
if (is_woocommerce_active()) {
    /**
     * Localisation
     **/
    load_plugin_textdomain('wc_stock_management', false, dirname(plugin_basename(__FILE__)) . '/languages/');
    /**
     * WC_Advanced_Stock_Management class
     **/
    if (!class_exists('WC_Advanced_Stock_Management')) {
        class WC_Advanced_Stock_Management
        {
            var $messages = array();
            /**
             * Constructor
             **/
Author URI: http://woothemes.com

	Copyright: © 2009-2011 WooThemes.
	License: GNU General Public License v3.0
	License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
/**
 * Required functions
 */
if (!function_exists('woothemes_queue_update')) {
    require_once 'woo-includes/woo-functions.php';
}
/**
 * Plugin updates
 */
woothemes_queue_update(plugin_basename(__FILE__), '9865e043bbbe4f8c9735af31cb509b53', '238816');
class WC_Amazon_Payments_Advanced
{
    private $settings;
    private $reference_id;
    /**
     * Constructor
     */
    public function __construct()
    {
        $this->settings = get_option('woocommerce_amazon_payments_advanced_settings');
        if (empty($this->settings['cart_button_display_mode'])) {
            $this->settings['cart_button_display_mode'] = 'button';
        }
        if (empty($this->settings['seller_id'])) {
            $this->settings['seller_id'] = '';
 * @package   WC-Order-Status-Control
 * @author    SkyVerge
 * @category  Utility
 * @copyright Copyright (c) 2013-2015, SkyVerge, Inc.
 * @license   http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
 */
if (!defined('ABSPATH')) {
    exit;
}
// Exit if accessed directly
// Required functions
if (!function_exists('woothemes_queue_update')) {
    require_once plugin_dir_path(__FILE__) . 'woo-includes/woo-functions.php';
}
// Plugin updates
woothemes_queue_update(plugin_basename(__FILE__), '32400e509c7c36dcc1cd368e8267d981', '439037');
// WC active check
if (!is_woocommerce_active()) {
    return;
}
// Required library class
if (!class_exists('SV_WC_Framework_Bootstrap')) {
    require_once plugin_dir_path(__FILE__) . 'lib/skyverge/woocommerce/class-sv-wc-framework-bootstrap.php';
}
SV_WC_Framework_Bootstrap::instance()->register_plugin('4.0.0', __('WooCommerce Order Status Control', 'woocommerce-order-status-control'), __FILE__, 'init_woocommerce_order_status_control', array('minimum_wc_version' => '2.2', 'backwards_compatible' => '4.0.0'));
function init_woocommerce_order_status_control()
{
    /**
     * # WooCommerce Order Status Control Main Plugin Class
     *
     * ## Plugin Overview
Tested up to: 3.5

	Copyright: © 2009-2011 WooThemes.
	License: GNU General Public License v3.0
	License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
/**
 * Required functions
 */
if (!function_exists('woothemes_queue_update')) {
    require_once 'woo-includes/woo-functions.php';
}
/**
 * Plugin updates
 */
woothemes_queue_update(plugin_basename(__FILE__), 'ba16bebba1d74992efc398d575bf269e', '18590');
if (is_woocommerce_active()) {
    define('PER_PRODUCT_SHIPPING_VERSION', '2.0.5');
    /**
     * Includes
     */
    if (is_admin()) {
        include_once 'admin/product-options.php';
    }
    /**
     * Installation
     */
    register_activation_hook(__FILE__, 'install_per_product_shipping');
    function install_per_product_shipping()
    {
        include_once 'admin/install.php';
Пример #28
0
 * Description: Add additonal, advanced order and stock notifications to WordPress - ideal for improving store management or for dropshippers.
 * Version: 1.1.1
 * Author: WooThemes / Mike Jolley
 * Author URI: http://mikejolley.com
 * License: GPLv3
 */
/**
 * Required functions
 */
if (!function_exists('woothemes_queue_update')) {
    require_once 'woo-includes/woo-functions.php';
}
/**
 * Plugin updates
 */
woothemes_queue_update(plugin_basename(__FILE__), '112372c44b002fea2640bd6bfafbca27', '18740');
/**
 * Localisation
 **/
load_plugin_textdomain('wc_adv_notifications', false, dirname(plugin_basename(__FILE__)) . '/languages');
/**
 * init_advanced_notifications function.
 *
 * @access public
 * @return void
 */
function init_advanced_notifications()
{
    if (is_woocommerce_active()) {
        include_once 'classes/class-wc-advanced-notifications.php';
    }
Пример #29
0
	Adapted from the WordPress post importer by the WordPress team
*/
if (!defined('ABSPATH') || !is_admin()) {
    return;
}
/**
 * Required functions
 */
if (!function_exists('woothemes_queue_update')) {
    require_once 'woo-includes/woo-functions.php';
}
/**
 * Plugin updates
 */
woothemes_queue_update(plugin_basename(__FILE__), '7ac9b00a1fe980fb61d28ab54d167d0d', '18680');
/**
 * Check WooCommerce exists
 */
if (!is_woocommerce_active()) {
    return;
}
if (!class_exists('WC_Product_CSV_Import_Suite')) {
    /**
     * Main CSV Import class
     */
    class WC_Product_CSV_Import_Suite
    {
        /**
         * Constructor
         */
 * @package WordPress
 * @author Automattic
 */
if (!defined('ABSPATH')) {
    exit;
}
/**
 * Required functions
 */
if (!function_exists('woothemes_queue_update')) {
    require_once 'woo-includes/woo-functions.php';
}
/**
 * Plugin updates
 */
woothemes_queue_update(plugin_basename(__FILE__), 'e907be8b86d7df0c8f8e0d0020b52638', '1770503');
if (!class_exists('Woocommerce_Square')) {
    /**
     * Main class.
     *
     * @package Woocommerce_Square
     * @since 1.0.0
     * @version 1.0.0
     */
    class Woocommerce_Square
    {
        private static $_instance = null;
        /**
         * @var WC_Integration
         */
        public $integration;