woocommerce_paypal_capture_request filter-hookWC 1.0

Usage

add_filter( 'woocommerce_paypal_capture_request', 'wp_kama_woocommerce_paypal_capture_request_filter', 10, 3 );

/**
 * Function for `woocommerce_paypal_capture_request` filter-hook.
 * 
 * @param  $request 
 * @param  $order   
 * @param  $amount  
 *
 * @return 
 */
function wp_kama_woocommerce_paypal_capture_request_filter( $request, $order, $amount ){

	// filter...
	return $request;
}
$request
-
$order
-
$amount
-

Where the hook is called

WC_Gateway_Paypal_API_Handler::get_capture_request()
woocommerce_paypal_capture_request
woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-api-handler.php 67
return apply_filters( 'woocommerce_paypal_capture_request', $request, $order, $amount );

Where the hook is used in WooCommerce

Usage not found.