Custom PHP conditions
-
Can anyone get me started with implementing custom PHP visibility conditions? Looking at the documentation, it seems like I should be able to use the block_visibility_is_block_visible filter for this…
https://blockvisibilitywp.com/knowledge-base/filter-slot-reference/#h-php-filters
…but I just cannot seem to get it to work. I would ideally like to use this feature to show or hide a block displaying warranty information, based on the brand of the current product. I use full site editing and this particular block would be placed on my Woocommerce single product template, rather than on a page or in the product content itself.
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.