Created
August 15, 2017 23:27
-
-
Save fervous/0406aa8cde59bb82fe9b8dccd0357dfc to your computer and use it in GitHub Desktop.
rename total to commission wc vendors pro dashbaord orders columns
This file contains 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
/* 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