本文整理汇总了PHP中woothemes_queue_update函数的典型用法代码示例。如果您正苦于以下问题:PHP woothemes_queue_update函数的具体用法?PHP woothemes_queue_update怎么用?PHP woothemes_queue_update使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了woothemes_queue_update函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: defined
* 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
示例2: woothemes_queue_update
* 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';
示例3: woothemes_queue_update
* 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()) {
示例4: woothemes_queue_update
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
示例5: woothemes_queue_update
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';
示例6: woothemes_queue_update
* 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'));
示例7: woothemes_queue_update
* @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
示例8: define
* 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: woothemes_queue_update
* @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
示例10: woothemes_queue_update
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: woothemes_queue_update
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: woothemes_queue_update
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__)) . '/');
/**
示例13: add_action
$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
示例14: woothemes_queue_update
* 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: woothemes_queue_update
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
{