combine the php
-
Hello, is there a way to combine and shorten these 2 php?
if (is_product_category(“coins-direct-sell”)){ if(isset($data[‘popularity’])){ unset($data[‘popularity’]); }
and
if (is_product_category(“direct-sell”)){ if(isset($data[‘popularity’])){ unset($data[‘popularity’]); }
Thank you Best regards
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘combine the php’ is closed to new replies.