woocommerce_api_request
Usage
add_action( 'woocommerce_api_request', 'wp_kama_woocommerce_api_request_action' ); /** * Function for `woocommerce_api_request` action-hook. * * @param $api_request * * @return void */ function wp_kama_woocommerce_api_request_action( $api_request ){ // action... }
- $api_request
- -
Where the hook is called
woocommerce_api_request
woocommerce/src/Internal/Utilities/LegacyRestApiStub.php 156
do_action( 'woocommerce_api_request', $api_request );