# Is there a recommended way to register query types?

**URL:** <https://forum.bricksbuilder.io/t/is-there-a-recommended-way-to-register-query-types/40064>\
**Category:** How To\
**Tags:** how-to\
**Created:** [August 18, 2026, 12:43pm UTC](https://forum.bricksbuilder.io/t/is-there-a-recommended-way-to-register-query-types/40064 "2026-08-18T12:43:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![milotheirself](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/milotheirself/32/32379_2.png) [@milotheirself](https://forum.bricksbuilder.io/u/milotheirself)\
**Post date:** [August 18, 2026, 12:43pm UTC](https://forum.bricksbuilder.io/t/is-there-a-recommended-way-to-register-query-types/40064/1 "2026-08-18T12:43:47Z")

</div>

Is there a recommended way to register custom query types, similar to how [registering dynamic data tags](https://academy.bricksbuilder.io/developer/dynamic-data/create-your-own-dynamic-data-tag/) works?

Looking through the [documented hooks](https://academy.bricksbuilder.io/developer/hooks/), the closest option to implement this seems to be `bricks/setup/control_options` to add an item to the list of query items in the interface and then later catch if the item was the active type with the `bricks/query/run` filter (and likely others). Is `bricks/setup/control_options` intended to be used for this, or are there other options?

For clarity, what I mean is something close to how ACF repeaters are listed as their own Type value for queries –

 ![Group 176961](https://forum.bricksbuilder.io/uploads/default/original/3X/3/9/39c22daa546db6d11ce49c31be157dc090ee93b6.png)

---

<div class="post-metadata">

**Author:** ![UserfreundSuat](https://forum.bricksbuilder.io/user_avatar/forum.bricksbuilder.io/userfreundsuat/32/34362_2.png) [@UserfreundSuat](https://forum.bricksbuilder.io/u/UserfreundSuat)\
**Post date:** [August 24, 2026, 2:40pm UTC](https://forum.bricksbuilder.io/t/is-there-a-recommended-way-to-register-query-types/40064/3 "2026-08-24T14:40:43Z")

</div>

Yes you setup your custom Queries via `bricks/setup/control_options` and then through these filters `bricks/query/run`, `bricks/query/loop_object`, `bricks/query/loop_object_id` & `bricks/query/loop_object_type`.

In my custom Child Theme I created an abstract Class of Queries that handles the filters and is easily extensible - similar as to how Bricks handles custom Elements.

Just ask Claude or any other AI to create you something similar - link it the Bricks Query-Class and the documentation of the filters I wrote above and you will get something you can work and adjust as you please 😉

Best Regards  
Suat
