woocommerce/plugins/woocommerce-blocks/docs
Raluca Stan a2f39d07f1 Add documentation for registerPaymentMethodExtensionCallbacks (https://github.com/woocommerce/woocommerce-blocks/pull/4834)
* Improve the type for callbacks registered by extensions

The previous type was CanMakePaymentCallback, used for the payment methods's own canMakePayment callbacks, which could also return Promises. In order to eliminate the confusion, a new type has been created that defines callbacks that only return true or false.

* Document registerPaymentMethodExtensionCallbacks

* Update docs/extensibility/filtering-payment-methods.md

Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>

* Add information about payment method name in documentation

Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
2021-09-24 14:34:07 +01:00
..
block-client-apis Update notices documentation to reflect changes to Snackbar Notices (https://github.com/woocommerce/woocommerce-blocks/pull/4455) 2021-07-12 12:49:47 +01:00
blocks Update feature flags and experimental interfaces document. (https://github.com/woocommerce/woocommerce-blocks/pull/4750) 2021-09-16 14:50:33 -04:00
contributors Update build system docs (https://github.com/woocommerce/woocommerce-blocks/pull/4762) 2021-09-16 17:58:03 +02:00
extensibility Add documentation for registerPaymentMethodExtensionCallbacks (https://github.com/woocommerce/woocommerce-blocks/pull/4834) 2021-09-24 14:34:07 +01:00
testing Merge release/5.9.0 into trunk following 5.9.1 release 2021-09-24 09:52:19 +01:00
theming Update Panel component class names to follow guidelines (https://github.com/woocommerce/woocommerce-blocks/pull/3860) 2021-02-17 14:48:53 +01:00
readme.md Update Release Template and Docs (https://github.com/woocommerce/woocommerce-blocks/pull/3524) 2020-12-09 11:32:16 +00:00

readme.md

WooCommerce Blocks Handbook

The WooCommerce Blocks Handbook provides documentation for designers and developers on how to extend or contribute to blocks, and how internal developers should handle new releases.

Document Description
Contributing These documents explain how you can contribute to the development of the blocks plugin, development best practices, and how to help with testing.
Blocks This documentation covers functionality specific to certain Blocks.
Block Client APIs This documentation covers API interfaces within Blocks. In most cases, these docs describe APIs and interfaces that are internal only, and thus are provided to assist with developing the blocks in this repository. Documentation will tend to focus on high level overviews.
Store API (REST API) These documents cover the Store API used to get product data on the frontend.
Extensibility These documents cover extensibility of WooCommerce Blocks.
Theming These documents cover theming for blocks, styles, CSS classnames and other theming best practices.