How can I enter a valid date that will be calculated. I tried to put this in page template:
$today = getdate();
$args = array(
'date_query' => array(
'year' => $today['year'],
'month' => $today['mon'],
'day' => $today['mday'],
$actual_date1 = date("Y-m-d",mktime(0, 0, 0, $today['mon'], $today['mday']-7, $today['year']));
and use in "Value" - $actual_date1 or $args, but not works.
Welcome to our forum.
I am not sure what are you trying to do and how your code will work with our plugin, could you please explain little more, hope i can help you.