Skip to content

Commit

Permalink
fix: pass order into woocommerce_order_item_{type}_html hook (#736)
Browse files Browse the repository at this point in the history
  • Loading branch information
saimonh3 authored and sabbir1991 committed Jan 20, 2020
1 parent cb960ea commit ddd3a91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/orders/details.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
break;
}

do_action( 'woocommerce_order_item_' . $item['type'] . '_html', $item_id, $item );
do_action( 'woocommerce_order_item_' . $item['type'] . '_html', $item_id, $item, $order );

}
?>
Expand Down

0 comments on commit ddd3a91

Please sign in to comment.