woocommerce_order_details_table() WC 1.0
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 5.0.0
function woocommerce_order_details_table( $order_id ) {
if ( ! $order_id ) {
return;
}
wc_get_template(
'order/order-details.php',
array(
'order_id' => $order_id,
)
);
}