Support

Account

Home Forums Pre-purchase Questions How to replace existing plugin fields with ACF fields?

Helping

How to replace existing plugin fields with ACF fields?

  • Hi, I’m trying to make an existing plugin (tickera) more intuitive for clients to manage. I love the “custom fields builder” in ACF which allows me to control how the custom fields meta box appears etc. Is there a way that I can replace the existing fields with ACF fields so that I can adjust the meta boxes etc?

  • There is not likely a simple 1-to-1 replacement, but it depends on how that other plugin stores values which I am not familiar with.

    If the plugin stores every value as a separate meta field the way ACF does and the data that it stores is the same as what ACF stores then you can create fields with the same field names and ACF will automatically pull in and save the field to the right place.

    However, if the fields are not stored the same as ACF then you would need to use new field names and create an acf/save_post action and in this action you would need to get the ACF field values and convert them whatever the other plugin requirements that other plugin requires and then update the values to the other plugin’s fields.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.