Support

Account

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 🙂