How to write PHP Code in Twig
-
Hi,
I want to convert below conditional tags code in twig to use it on MB Views:if (! is_product()|| has_term( 'membership-plans', 'product_cat' ) ) { ........... }How can i do it?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘How to write PHP Code in Twig’ is closed to new replies.