Snippets

Visser Labs Adding static Order Item fields to the Orders export type: combined

Created by Michael Visser last modified
1
2
3
4
5
6
7
8
9
<?php
function custom_woo_ce_extend_order_items_combined( $order ) {

	$order->order_items_static = 'Static value';
	return $order;

}
add_filter( 'woo_ce_order_items_combined', 'custom_woo_ce_extend_order_items_combined' );
?>

Comments (0)