This is a small report about plugins I've verified with phpdoc for extending WC_Abstract_Privacy
privacy class provided by WooCommerce.
Based on information found in WooCommerce Guidelines for GDPR, Making Woo Extensions GDPR compliant and the whole WC_Abstract_Privacy class API.
- Klarna Payments: https://github.com/krokedil/klarna-payments-for-woocommerce
- TaxJar Sales Tax: https://github.com/taxjar/taxjar-woocommerce-plugin
- Mollie WooCommerce: https://github.com/mollie/WooCommerce
- The official Stripe Payment Gateway for WooCommerce: https://github.com/woocommerce/woocommerce-gateway-stripe
- Woocommerce Payment Gateway for TrueLayer OpenBanking API: https://github.com/signalfire/woocommerce-truelayer-gateway
NOTE: Used on macOS, process might be simalar on Linux
The easiest way I could imagine is to use fgrep
on the command line.
cd /path/to/plugin
fgrep -r WC_Abstract_Privacy .
If found, it will return us the files where the string WC_Abstract_Privacy
is being used.
./includes/admin/class-wc-stripe-privacy.php:if ( ! class_exists( 'WC_Abstract_Privacy' ) ) {
./includes/admin/class-wc-stripe-privacy.php:class WC_Stripe_Privacy extends WC_Abstract_Privacy {
In order to facilitate communication, having a graph helps to visualize a point. We're using a PHPDoc container to spin it up without requiring to install all required components.
docker run -v "$PWD":/var/php/app/plugin dragonbe/phpdoc
The full API documentation for the plugin, including the graphs, will be available at build/phpdoc
.