Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Add collumn to metabox of invoices woocomerce
add_action( 'woocommerce_admin_order_item_headers', 'collumn_invoice_header' );
function collumn_invoice_header($order){
<th class="line_produtor_title sortable" data-sort="your-sort-option">
name collumn
add_action( 'woocommerce_admin_order_item_values', 'collumn_invoice_content' );
function collumn_invoice_content( $product ) {
<td class="line_produtor_title">
<?php //content ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment