I have exported the custom fields to php and included them via functions.php file like so:
require get_template_directory() . ‘/inc/acf.php’;
Unfortunately I don’t see any custom fields in my post types. Also this function does not exist.
Any idea why this is?
What version of ACF are you using?
Is the file you added to the theme or to a child theme?