[ad_1]
Hi, I try to define the extra query parameter for a Post/Cpt selection field. I want to show only the CPTs whose date is after the current date (today).
Here is the query parameter I tried (but not working):
>meta\_query\[0\]\[key\]=ap\_debut\_datetime&meta\_query\[0\]\[value\]=date(‘Y-m-d’)&meta\_query\[0\]\[compare\]=’>=’
ap\_debut\_datetime is the custom field
I read 10 times the doc here: [https://wpmanageninja.com/docs/fluent-form/advanced-features-functionalities-in-wp-fluent-form/post-selection-input-field/])
But it didn’t help
[ad_2]
I also tried by adding &meta_query[0][type]=’DATETIME’
without better result