Support

Account

Home Forums General Issues Hiding ACF Field Groups in plugin

Helping

Hiding ACF Field Groups in plugin

  • Hello All,

    I am working on a plugin for a website that uses ACF-JSON. However, I want a way to disable pulling the field groups in to the admin page unless it is in local development where the plugin is being created. I have tried setting the private flag in the JSON file but the field group still shows up in the admin page.

    Any advice is welcomed and appreciated.

    Thank you,
    Michael D.

  • If you are using local json and set the field group to private then it should not show up in the admin panel. I have plugins that do this.

    You need to delete the field group from the admin so that it will only load from the JSON file.

    Have you tried testing this on different site than were you are building?

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

You must be logged in to reply to this topic.