Hello,
I have that custom post type (stores).
I need to get all post with all meta data (acf fields) in it.
I’m able to get an array of WP objects with:
$stores = get_posts(array(
‘numberposts’ => -1,
‘post_type’ => ‘store’,
));
So I need that those posts have the fields in it.
Any way of doing this?
—- Versions —-
ACF v4
WP v4.4.2