Merge pull request #2980 from maxrice/ajax-add-line-item-updates
Add action for AJAX order item insertions
This commit is contained in:
commit
190c402a65
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue