set variable within single-event.php
-
I’ve included an overwrite of single-event.php within my child theme. Within this file I retrieve a Tribe custom variable associated with each event:
$holder = $custom_fields[‘Places left’]I need to code a decrease of $holder – can I do this and will create any problems-
$custom_fields[‘Places left’]= $custom_fields[‘Places left’]-1;
Thanks for any advice on this.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘set variable within single-event.php’ is closed to new replies.