Skip to content

Instantly share code, notes, and snippets.

@bentasm1
Last active August 29, 2015 14:18
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 bentasm1/8818d4cbfb71822025d5 to your computer and use it in GitHub Desktop.
Save bentasm1/8818d4cbfb71822025d5 to your computer and use it in GitHub Desktop.
Override Commission Subtotal: label WC Vendors
/* WC Vendors - Change Commission Subtotal: in emails WC Vendors */
add_filter( 'wcv_notify_vendor_commission_label', 'custom_wcv_notify_vendor_commission_label' ,10, 1 );
function custom_wcv_notify_vendor_commission_label( $message ) {
$message = "Your Commission Subtotal Message Here: ";
return $message;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment