do_action( 'woocommerce_api_request' )
WC-API endpoint handler.
Description Description
This handles API related functionality in WooCommerce.
- wc-api endpoint – Commonly used by Payment gateways for callbacks.
- Legacy REST API – Deprecated in 2.6.0. @see class-wc-legacy-api.php
- WP REST API – The main REST API in WooCommerce which is built on top of the WP REST API.
Source Source
File: includes/class-wc-api.php
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |