How to check if a tab exists
-
Hello.
I am working on a little script.
I added a tab called ‘Video’ and added a video there.
By using woocommerce_before_add_to_cart_form hook I am echoing a button saying ‘Watch video’ under short description.
Now I want to echo this button only when the Video tab will be present.
Could help me with that? Which condition to use?
ThanksBest Regards,
RadanThe page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to check if a tab exists’ is closed to new replies.