Merge pull request #2980 from maxrice/ajax-add-line-item-updates

Add action for AJAX order item insertions
This commit is contained in:
Mike Jolley 2013-04-17 09:01:01 -07:00
commit 190c402a65
1 changed files with 2 additions and 0 deletions

View File

@ -982,6 +982,8 @@ function woocommerce_ajax_add_order_item() {
woocommerce_add_order_item_meta( $item_id, '_line_tax', $item['line_tax'] );
}
do_action( 'woocommerce_ajax_add_order_item_meta', $item_id, $item );
include( 'admin/post-types/writepanels/order-item-html.php' );
// Quit out