Home › Forums › General Issues › How to do this? Converting some links › Reply To: How to do this? Converting some links
Hi @jayboy
Looking at your screenshot, it seems that it uses a custom function to convert the link to the embed code. To do that, you need to use the acf/save_post action hook and the update_field() function to update the field on save.
But, if you only need to do it for common websites like Youtube or Vimeo, you can use the oEmbed field instead. This page should give you more idea about it: https://www.advancedcustomfields.com/resources/oembed/.
I hope this helps 🙂
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.