Meta Query: Need help with dynamic value
-
Hello,
Is it possible to put value (current date) in Post:Meta Query. I have post_type=”event” and I want to display only coming events.
‘key’ => ‘_event_end_date’, ‘value’ => $today, ‘compare’ => ‘>=’
but it is comparing only with static value (exp: 2015-02-25)Thanks in advance for all the responds.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Meta Query: Need help with dynamic value’ is closed to new replies.