Created
March 23, 2016 13:18
-
-
Save DustinHartzler/7f3298a6371e78543ad4 to your computer and use it in GitHub Desktop.
Remove SKU column
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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