woocommerce_order_item_add_action_buttons

woocommerce_order_item_add_action_buttons

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

do_action('woocommerce_order_item_add_action_buttons') is found 1 times:

  • /includes/admin/meta-boxes/views/html-order-items.php line 309
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
                <button type="button" class="button refund-items"><?php esc_html_e( 'Refund', 'woocommerce' ); ?></button>
            <?php endif; ?>
            <?php
                // Allow adding custom buttons.
                do_action( 'woocommerce_order_item_add_action_buttons', $order );
            ?>
            <?php if ( $order->is_editable() ) : ?>
                <button type="button" class="button button-primary calculate-action"><?php esc_html_e( 'Recalculate', 'woocommerce' ); ?></button>
            <?php endif; ?>
        </p>
    </div>