Skip to content

Instantly share code, notes, and snippets.

View jchrislemmer's full-sized avatar

jchrislemmer

  • ApexSystems cc
View GitHub Profile
@jchrislemmer
jchrislemmer / WooCommerce Distance Rate Shipping - class-wc-shipping-distance-rate.php
Created February 15, 2018 17:52
WooCommerce Distance Rate Shipping - Fix issue of exact address not found
<?php
/**
* Shipping method with distance rate.
*
* @package WC_Distance_Rate
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
@jchrislemmer
jchrislemmer / class-wc-gateway-payfast.php
Last active April 6, 2020 21:14
Woocommerce Payfast - Add X-Forwarded-For Support
<?php
/**
* PayFast Payment Gateway
*
* Provides a PayFast Payment Gateway.
*
* @class woocommerce_payfast
* @package WooCommerce
* @category Payment Gateways
* @author WooThemes