Skip to content

Instantly share code, notes, and snippets.

@fervous
Created August 15, 2017 23:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fervous/0406aa8cde59bb82fe9b8dccd0357dfc to your computer and use it in GitHub Desktop.
Save fervous/0406aa8cde59bb82fe9b8dccd0357dfc to your computer and use it in GitHub Desktop.
rename total to commission wc vendors pro dashbaord orders columns
/* rename total to commission in column */
add_filter('wcv_order_table_columns', 'wcv_order_table_columns_rename');
function wcv_order_table_columns_rename( $columns ){
if ( array_key_exists('total', $columns ) ) $columns[ 'total' ]= 'Comission';
return $columns;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment