Skip to content

Instantly share code, notes, and snippets.

@bordoni
Last active July 14, 2016 20:51
Show Gist options
  • Select an option

  • Save bordoni/e529f921693f94c6ea1b0741360168e7 to your computer and use it in GitHub Desktop.

Select an option

Save bordoni/e529f921693f94c6ea1b0741360168e7 to your computer and use it in GitHub Desktop.
<?php
add_filter( 'manage_shop_order_posts_columns','remove_order_fields', 11 );
function remove_order_fields( $columns ) {
unset( $columns['order_notes'] );
unset( $columns['order_status'] );
unset( $columns['order'] );
return $columns;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment