woocommerce_order_item_add_line_buttons

woocommerce_order_item_add_line_buttons

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

do_action('woocommerce_order_item_add_line_buttons') is found 1 times:

  • /includes/admin/meta-boxes/views/html-order-items.php line 325
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
            <button type="button" class="button add-order-tax"><?php esc_html_e( 'Add tax', 'woocommerce' ); ?></button>
        <?php endif; ?>
        <?php
            // Allow adding custom buttons.
            do_action( 'woocommerce_order_item_add_line_buttons', $order );
        ?>
        <button type="button" class="button cancel-action"><?php esc_html_e( 'Cancel', 'woocommerce' ); ?></button>
        <button type="button" class="button button-primary save-action"><?php esc_html_e( 'Save', 'woocommerce' ); ?></button>
    </div>
    <?php if ( $render_refunds ) : ?>
    <div class="wc-order-data-row wc-order-refund-items wc-order-data-row-toggle" style="display: none;">

See this hook used in plugins: