• Resolved yukiko-kawa

    (@yukiko-kawa)


    I wanted to change the title of a Tab created with the plugin.

    Since I have to load a php code (I have to put the number of elements inside the tab (5) and the normal title of your plugin does not accept shortcodes.

    I decided to use:
    add_filter( ‘woocommerce_product_tabs’) (even with late function loading order)

    However, the filter does not find any of the tabs created with the plugin in the list.

    Do you have a dedicated filter? Is there a solution to change the tab title with code?

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author RazyRx

    (@razyrx)

    Hello,

    Plugin use high priority for hook that is used for same hook and it is priority 29999 , you can use higher priority for your function to change tabs that added with our plugin.

    Regards,
    Oleg

    Thread Starter yukiko-kawa

    (@yukiko-kawa)

    I only dared 500 priorities

    yes that’s how it works

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘change tab title via woocommerce_product_tabs’ is closed to new replies.