Merge pull request #653 from GeertDD/order_items_table_hook
Passing along the order object to the woocommerce_order_items_table hook
This commit is contained in:
commit
b7b53dbe1a
|
@ -58,7 +58,7 @@ $order = new WC_Order( $order_id );
|
|||
endforeach;
|
||||
endif;
|
||||
|
||||
do_action( 'woocommerce_order_items_table' );
|
||||
do_action( 'woocommerce_order_items_table', $order );
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
Loading…
Reference in New Issue