woocommerce_order_details_before_order_table_items хук-событие . WC 1.0
Использование
add_action( 'woocommerce_order_details_before_order_table_items', 'action_function_name_2019' ); function action_function_name_2019( $order ){ // action... }
- $order
- -
Где вызывается хук
В файле: /templates/order/order-details.php
woocommerce_order_details_before_order_table_items
woocommerce/templates/order/order-details.php 58
do_action( 'woocommerce_order_details_before_order_table_items', $order );