Ah, so simple…
if (have_rows('fcf_name')) {
while(have_rows('fcf_name')) {
the_row();
$array[] = get_sub_field('subfield_name');
}
print_r($array);
}
@bryant please let us know how it works out. I will also try it but at the moment I have no time. Yep, this should be in ACF core.
There is Flush ACF on GitHub. Never tested it though.
Did anybody do this successfully? I’m trying to expire post to draft with date from date field (format DD.MM.YYYY) but so far without success. Must I convert date field value to unix timestamp maybe?
Regards