Support

Account

Home Forums Backend Issues (wp-admin) get_field_objects() empty till Save Draft is clicked Reply To: get_field_objects() empty till Save Draft is clicked

  • I don’t think there’s a way to trigger the save outside of actually saving the post to get ACF to do it’s thing.

    If your looking to get a list of fields, if you know the group_id for the field group in question you can use:

    acf_get_fields($group_id)

    That will return a the list of fields, then you could loop through that list of fields to get the information for each field type and get the data based on that.

    EDIT: I mean the group key, will look something like “group_123456789abcfef”