Skip to content

Instantly share code, notes, and snippets.

@fervous
Created August 23, 2017 01:00
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/00dee74a5726db9c69625bd68a1f534f to your computer and use it in GitHub Desktop.
Save fervous/00dee74a5726db9c69625bd68a1f534f to your computer and use it in GitHub Desktop.
rename change shipping tab title label wc vendors pro
/* rename shipping tab on product page */
add_filter('wcv_shipping_tab', 'wcv_shipping_tab_rename');
function wcv_shipping_tab_rename( $tabs ){
if ( array_key_exists('title', $tabs ) ) $tabs[ 'title' ]= 'Shipping / Returns';
return $tabs;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment