woocommerce_webhook_order_payload_filters filter-hookWC 1.0

Usage

add_filter( 'woocommerce_webhook_order_payload_filters', 'wp_kama_woocommerce_webhook_order_payload_filters_filter' );

/**
 * Function for `woocommerce_webhook_order_payload_filters` filter-hook.
 * 
 * @param  $array 
 *
 * @return 
 */
function wp_kama_woocommerce_webhook_order_payload_filters_filter( $array ){

	// filter...
	return $array;
}
$array
-

Where the hook is called

WC_Webhook::get_legacy_api_payload()
woocommerce_webhook_order_payload_filters
woocommerce/includes/class-wc-webhook.php 381
$payload = WC()->api->WC_API_Orders->get_order( $resource_id, null, apply_filters( 'woocommerce_webhook_order_payload_filters', array() ) );

Where the hook is used in WooCommerce

Usage not found.