Support

Account

Home Forums General Issues Understanding Return Format: Post Object vs Post ID Reply To: Understanding Return Format: Post Object vs Post ID

  • @floatingpoint Just the Post Object field.

    With further testing, it seems that it is the Taxonomy field that returns an ID instead of a Term Object even when the return format is Term Object.

    Or maybe this is happening only when I access properties directly instead of using get_field(). I would expect the return type to save the data in that format, but maybe it is storing only IDs in any case, and only using ACF functions does it return the specified format.