Support

Account

Home Forums Backend Issues (wp-admin) Combining acf/load_value with acf/save_post

Unread

Combining acf/load_value with acf/save_post

  • Hi,

    I am trying to sync some fields (wysiwyg and color picker) values across all posts in a specific custom post.

    To do that I created the fields in an option page as well as on the custom post.
    The idea was to overwrite the values in the option page when changed in the custom post (acf/save_post combined with update_field) and loading them from the option page on post load (via acf/load_value).

    The problem is that the acf/save_post action doesn’t seem to work when using in combination with the acf/load_value filter.

    Is there a better way to achieve what I am looking for (sync some fields across all custom posts) or what would be the correct way to use this 2 filter/action together.

    Thanks for your help

    PS. I tried acf/load_field and acf/update_value with no luck.

Viewing 1 post (of 1 total)

The topic ‘Combining acf/load_value with acf/save_post’ is closed to new replies.