Support

Account

Home Forums General Issues How to call ACF fields from my functions.php file Reply To: How to call ACF fields from my functions.php file

  • Hi @ratatat,

    Hmm… As per the docs, when you make a call to get_sub_field(...) method outside a WP loop, then you have to specify a $post_id as a second argument in the method (get_sub_field(...)).