• Hi,

    For my client, they have manually added a custom tab instead of using saved tabs, so I need to rename the heading of one of the tabs to something else.

    I want to rename tab “Dokumenter” to “Bruksanvisning”

    I tried the following snippet, but it’s not working.

    add_filter(‘yikes_woocommerce_custom_repeatable_product_tabs_heading’, function( $heading ) {
    if ( strstr( $heading, ‘dokumenter’ ) ) {
    return str_replace( ‘dokumenter’, ‘Bruksanvisning’, $heading );
    }
    return $heading;
    }, 99);

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Rename custom tab’ is closed to new replies.