Support

Account

Home Forums Backend Issues (wp-admin) Query ACF Field Groups by custom setting

Unread

Query ACF Field Groups by custom setting

  • Hi there, I’m developing a theme where I want to be able to use frontend forms with acf_form(). I’ve added a custom setting for ACF Field Groups is_frontend_form (screenshot attached).

    Now I want to be able to select one of the field groups with is_frontend_form set to true using a post_object field, making use of the acf/fields/post_object/query filter.

    I realized though, that the custom setting is being stored in the post_content of the field group’s post object, rather than being saved as post meta. I can imagine this improves query performance, but how would I query field groups with this setting set to true in a custom query?

Viewing 1 post (of 1 total)

The topic ‘Query ACF Field Groups by custom setting’ is closed to new replies.