woocommerce_webhook_payload filter-hookWC 1.0

Usage

add_filter( 'woocommerce_webhook_payload', 'wp_kama_woocommerce_webhook_payload_filter', 10, 4 );

/**
 * Function for `woocommerce_webhook_payload` filter-hook.
 * 
 * @param  $payload     
 * @param  $resource    
 * @param  $resource_id 
 * @param  $id          
 *
 * @return 
 */
function wp_kama_woocommerce_webhook_payload_filter( $payload, $resource, $resource_id, $id ){

	// filter...
	return $payload;
}
$payload
-
$resource
-
$resource_id
-
$id
-

Where the hook is called

WC_Webhook::build_payload()
woocommerce_webhook_payload
woocommerce/includes/class-wc-webhook.php 439
return apply_filters( 'woocommerce_webhook_payload', $payload, $resource, $resource_id, $this->get_id() );

Where the hook is used in WooCommerce

Usage not found.