woocommerce_order_item_meta_start
Использование
add_action( 'woocommerce_order_item_meta_start', 'wp_kama_woocommerce_order_item_meta_start_action', 10, 4 ); /** * Function for `woocommerce_order_item_meta_start` action-hook. * * @param $item_id * @param $item * @param $order * @param $false * * @return void */ function wp_kama_woocommerce_order_item_meta_start_action( $item_id, $item, $order, $false ){ // action... }
- $item_id
- -
- $item
- -
- $order
- -
- $false
- -
Где вызывается хук
woocommerce_order_item_meta_start
woocommerce/templates/order/order-details-item.php 46
do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order, false );
woocommerce/templates/emails/plain/email-order-items.php 43
do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order, $plain_text );
woocommerce/templates/emails/email-order-items.php 58
do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order, $plain_text );
woocommerce/templates/checkout/form-pay.php 45
do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order, false );