• Hey ACF team!

    I created a custom field for the DOWNLOAD LINK in my post for my website apkqad.com, where I added a link from a custom post type “download.” This custom post type “download” apkqad.com/download/xxx has a custom field where the latest download link is stored.

    I’ would like to save the data from the custom field of the “download” custom post type into the post itself. Is it possible to achieve this?

    Screenshots:

    1- https://imgur.com/a/Z2vJfAF

    2- https://imgur.com/a/Z2vJfAF

    Sorry for bad english …!!! any reply would be appreciated…

Viewing 1 replies (of 1 total)
  • Hi,

    You can do it by using the hook 'acf/save_post', and when the ACF fields of a post are saved, then you have 2 options :
    – Save it also as a post meta : update_post_meta()
    – Save it also in the content of the post : wp_update_post()

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.