Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter mariazapata

    (@mariazapata)

    anyone has any idea of this?

    Exactly the same problem for me… Did you figured it out already?

    You didn’t return the $tabs variable inside the woo_rename_tabs() function, like in the example. Do that and it will work.

    add_filter( 'woocommerce_product_tabs', 'woo_rename_tabs', 98 );
    function woo_rename_tabs( $tabs ) {
    	global $product, $post;
    	if ( $product->has_attributes() ) {
    		$tabs['additional_information']['title'] = __( 'Eigenschappen' );
    	}
    	return $tabs;
    }

    Will work

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘woocomerce 2, renaming tabs’ is closed to new replies.