Skip to content

Instantly share code, notes, and snippets.

@DustinHartzler
Created March 23, 2016 13:18
Show Gist options
  • Save DustinHartzler/7f3298a6371e78543ad4 to your computer and use it in GitHub Desktop.
Save DustinHartzler/7f3298a6371e78543ad4 to your computer and use it in GitHub Desktop.
Remove SKU column
add_filter( 'wc_pip_document_table_headers', 'sv_wc_pip_document_unset_sku', 200, 1 );
add_filter( 'wc_pip_document_table_row_item_data', 'sv_wc_pip_document_unset_sku', 200, 1 );
function sv_wc_pip_document_unset_sku( $row ) {
unset( $row['sku'] );
return $row;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment