Get relationship value from ACF Relationship field

23 March, 2020 16:22:50
rizqon
Topics: 1
Messages: 1
Hi!
thanks guys for a great plugin, but I have a little problem here. How to get a relationship value from ACF Relationship field where it is returned post object of relation post type
24 March, 2020 01:59:51
Oleksandr
Support
Topics: 4
Messages: 1087
Hi,

Unfortunately there is no built-in feature with which it's possible to pull out full data from relationship field where it is returned post object. You can get only the related post IDs.

We moved your thread to "Feature Requests" section and checking the possibility to add this functionality.

Meanwhile, if you have knowledge of PHP you can try to use "filter" to update output value.

- Example which must be added to functions.php: https://codeshare.io/5QBgKq

- Example of Field setup and values that used in PHP example is attached as screenshot.

We remain at your service.
If you appreciate our support , we would really appreciate your feedback at WordPress.org!