woocommerce_api_wc_gateway_paypal
Usage
add_action( 'woocommerce_api_wc_gateway_paypal', 'wp_kama_woocommerce_api_wc_gateway_paypal_action' ); /** * Function for `woocommerce_api_wc_gateway_paypal` action-hook. * * @return void */ function wp_kama_woocommerce_api_wc_gateway_paypal_action(){ // action... }
Where the hook is called
woocommerce_api_wc_gateway_paypal
woocommerce/includes/wc-deprecated-functions.php 228
do_action( 'woocommerce_api_wc_gateway_paypal' );
Where the hook is used in WooCommerce
woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php 34
add_action( 'woocommerce_api_wc_gateway_paypal', array( $this, 'check_response' ) );