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.8.8.3

do_action('woocommerce_order_item_add_line_buttons') is found 1 times:

  • /includes/admin/meta-boxes/views/html-order-items.php line 317
    		<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: