I have this code:
Code:
I want to simplify the code to display the widget with any url with /pick-the-winner/ in it. How would I go about this?
Thanks,
Itworx4me
Читать далее...
Code:
in_array($xf.uri, ['/pick-the-winner/', '/pick-the-winner/picks/', '/pick-the-winner/history/', '/pick-the-winner/history/events/', '/pick-the-winner/picks/member/'])
I want to simplify the code to display the widget with any url with /pick-the-winner/ in it. How would I go about this?
Thanks,
Itworx4me
Читать далее...