Tell us what you are trying to do?
I have made a repeatable field group in posts for being able to select related posts.
To being able to select other posts I use this code (found on your website):
I have made a view to show the selected posts in the RFG, but they online show the title (if we typed it by hand in the RFG) or a number (I think it's the post ID) and a url, ending with .../related/rfg-4/ instead of a working url (actual url of the post).
I would like to show the title of the post and the correct url (which can become a link) in the view, but I don't know how to edit the above code to get the correct data.
Thank you for contacting us and I'd be happy to assist.
When populating options of the custom field dynamically using the 'wpt_field_options', as shown in your code, it stores the selected post's ID as the raw custom field value.