Snippets

Visser Labs Override the default order_items XML node in exports

Created by Michael Visser
1
2
3
4
5
6
7
8
9
<?php
// Rename the default order_items to OrderLineItem
function custom_woo_ce_export_xml_order_items_node( $node = '' ) {

	return 'OrderLineItem';

}
add_filter( 'woo_ce_export_xml_order_items_node', 'custom_woo_ce_export_xml_order_items_node' );
?>

Comments (0)