woocommerce_order_details_table()
Displays order details in a table.
Хуков нет.
Возвращает
null
. Ничего.
Использование
woocommerce_order_details_table( $order_id );
- $order_id(разное) (обязательный)
- Order ID.
Код woocommerce_order_details_table() woocommerce order details table WC 7.3.0
function woocommerce_order_details_table( $order_id ) { if ( ! $order_id ) { return; } wc_get_template( 'order/order-details.php', array( 'order_id' => $order_id, ) ); }