Support

Account

Home Forums ACF PRO WP Query to get acf field Reply To: WP Query to get acf field

  • You are getting the post. To get a field value you just get that value

    
    return get_field('category', $post_id);
    

    but I’m confused why you would be building a functions for something that ACF already does.