Support

Account

Home Forums General Issues Return value of Post Object field ? Reply To: Return value of Post Object field ?

  • Hi @n1smo

    ACF will only ever save the ID into the DB, never the object. The return format is something that is run AFTER loading the DB value.

    In short, yes you can follow the relationship tutorial, however, if your post_object field saves 1 single value (no a multi-select), then you do not need to use a LIKE compare, you can simply look for posts with the custom field value of $post_id

    Thanks
    E