Skip to content

Instantly share code, notes, and snippets.

@woogist
Created October 8, 2014 13:26
Show Gist options
  • Save woogist/bdb8a7dd24dba7cee202 to your computer and use it in GitHub Desktop.
Save woogist/bdb8a7dd24dba7cee202 to your computer and use it in GitHub Desktop.
Change the Vendor tab label
add_filter( 'woocommerce_product_tabs', 'woo_rename_vendor_tab' );
function woo_rename_vendor_tab( $tabs ) {
if ( isset( $tabs['vendor'] ) ) {
$tabs['vendor']['title'] = __( 'Your Label Here' );
}
return $tabs;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment