2017 © Pedro Peláez
 

library woocommerce-compat

A library for abstracting away differences between WooCommerce versions

image

davidanderson684/woocommerce-compat

A library for abstracting away differences between WooCommerce versions

  • Thursday, June 1, 2017
  • by davidanderson684
  • Repository
  • 1 Watchers
  • 1 Stars
  • 117 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

woocommerce-compat

A library to provide some help with abstracting away differences between WooCommerce versions., (*1)

WooCommerce changes its internals quite a lot. Most extension authors like their extensions to run across a range of versions. This library is code that I wrote to help with abstracting away some of the differences with my extensions (https://www.simbahosting.co.uk/s3/shop/)., (*2)

It is not my personal aim to create a comprehensive library. If you wish it to contain something that it does not, then please consider contributing a pull request. I am happy to accept pull requests, but will not be coding compatibility methods that I have no personal use for. As such, you should expect this library to be incomplete, by design. It is being shared because it may be useful to someone; and perhaps people will contribute and increase its usefulness., (*3)

Requirements:

  • A PHP version supported by WordPress (see: https://wordpress.org/about/requirements/ - N.B. don't confuse supported versions with recommended versions).

Use

  • Add davidanderson684/woocommerce-compat to your requirements in composer.json, and then run a "composer update". Or, just require_once('woocommerce-compat.php');, (*4)

  • To see the currently available public methods, read the code!, (*5)

Upgrading between versions

  • Any API-breaking changes will be accompanied by a bump in the class name, which includes the version number. Addition of new functionality will also result in a bump. We will try to stick to semantic versioning (http://semver.org).

Etcetera

  • Author homepage: https://david.dw-perspective.org.uk, (*6)

  • Donations: https://david.dw-perspective.org.uk/donate, (*7)

The Versions

01/06 2017

dev-master

9999999-dev

A library for abstracting away differences between WooCommerce versions

  Sources   Download

01/06 2017

v0.3.0

0.3.0.0

A library for abstracting away differences between WooCommerce versions

  Sources   Download

25/03 2017

v0.2.2

0.2.2.0

A library for abstracting away differences between WooCommerce versions

  Sources   Download

16/02 2017

v0.2.1

0.2.1.0

A library for abstracting away differences between WooCommerce versions

  Sources   Download

04/02 2017

v0.2.0

0.2.0.0

A library for abstracting away differences between WooCommerce versions

  Sources   Download

28/01 2017

v0.1.1

0.1.1.0

A library for abstracting away differences between WooCommerce versions

  Sources   Download

28/01 2017

v0.1

0.1.0.0

A library for abstracting away differences between WooCommerce versions

  Sources   Download