Wallogit.com
2017 © Pedro Peláez
A library for abstracting away differences between WooCommerce versions
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)
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)
Author homepage: https://david.dw-perspective.org.uk, (*6)
Donations: https://david.dw-perspective.org.uk/donate, (*7)