Support

Account

Home Forums Backend Issues (wp-admin) Alter field group settings per content type Reply To: Alter field group settings per content type

  • As far as “…ACF at some point knows…”, not really. ACF doesn’t need to know that until the field groups are shown and in some cases ACF only determines what field groups to make visible while there may be other field groups included in the code are not visible because they do not match the location rules.

    When not using JSON, ACF does not load the field groups until they are needed. On the other hand, it loads all field groups from JSON early so that it does not load a field group from the DB if it is already added via JSON. When ACF is loading the JSON it doesn’t care if it belongs on a specific page, it’s just calling acf_add_local_field_group() to add the ones loaded from JSON.