This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Plugin Name: WooCommerce Order Status Tracker | |
* Plugin URI: https://example.com/woocommerce-order-status-tracker | |
* Description: This plugin tracks WooCommerce order status changes and logs them to the database. | |
* Version: 1.0.0 | |
* Author: Your Name | |
* Author URI: https://example.com | |
* License: GPL2 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Class FUE_Admin_Controller | |
* | |
* Controller for the Admin Panel | |
*/ | |
class FUE_Admin_Controller { | |
/** | |
* Register the menu items |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2 { | |
flex: none; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE wp_woocommerce_square_customers (`square_id` varchar(191) NOT NULL, `email_address` varchar(200) NOT NULL, `user_id` BIGINT UNSIGNED NOT NULL, PRIMARY KEY (`square_id`) ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'automatewoo/batched_job_monitor/failure_rate_threshold', 'woo_set_custom_failure_rate' ); | |
function woo_set_custom_failure_rate ($threshold ) { | |
return 10000; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Changes the amount of time a WooCommerce Booking can remain in the cart before it is removed. Time is in minutes. | |
function ijab_change_inactive_cart_bookings_time() { | |
return 5; | |
} | |
add_filter( 'woocommerce_bookings_remove_inactive_cart_time', 'ijab_change_inactive_cart_bookings_time' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function ijab_woo_remove_order_meta_search() { | |
return; | |
} | |
add_filter( 'woocommerce_shop_order_search_fields', 'ijab_woo_remove_order_meta_search' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sv_facebook_feed_url_admin_notice(){ | |
if ( class_exists( 'WC_Facebook_Product_Feed' ) ) { | |
$feed_file_url = class_exists( 'SkyVerge\WooCommerce\Facebook\Products\Feed' ) ? get_bloginfo( 'url' ) . '/?wc-api=wc_facebook_get_feed_data&secret=' . SkyVerge\WooCommerce\Facebook\Products\Feed::get_feed_secret() : ''; | |
if ( ( isset( $_GET['page'], $_GET['tab'], $_GET['section'] ) && | |
( 'wc-settings' == $_GET['page'] && 'integration' == $_GET['tab'] && | |
'facebookcommerce' == $_GET['section'] ) ) || | |
( isset( $_GET['page'] ) && 'wc-facebook' == $_GET['page'] ) ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'customize_register', 'jp_override_storefront_powerpack', 21 ); | |
/** | |
* @param WP_Customize_Manager $wp_customizer | |
*/ | |
function jp_override_storefront_powerpack( $wp_customizer ) { | |
$controls = array( | |
'sp_homepage_featured_products_limit', | |
'sp_homepage_top_rated_products_limit', | |
'sp_homepage_on_sale_products_limit', | |
'sp_homepage_recent_products_limit', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! HTML5 Shiv vpre3.6 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed | |
Uncompressed source: https://github.com/aFarkas/html5shiv */ | |
(function(a,b){function h(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function i(){var a=l.elements;return typeof a=="string"?a.split(" "):a}function j(a){var b={},c=a.createElement,f=a.createDocumentFragment,g=f();a.createElement=function(a){if(!l.shivMethods)return c(a);var f;return b[a]?f=b[a].cloneNode():e.test(a)?f=(b[a]=c(a)).cloneNode():f=c(a),f.canHaveChildren&&!d.test(a)?g.appendChild(f):f},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+i().join().replace(/\w+/g,function(a){return c(a),g.createElement(a),'c("'+a+'")'})+");return n}")(l,g)}function k(a){var b;return a.documentShived?a:(l.shivCSS&&!f&&(b=!!h(a,"article,aside,details,figcaption,figure,footer,header,hgroup, |
NewerOlder