Hello, I am trying to add an extra filter on a query used for searching a listing.
I would like to be able to add a restriction on an attribute, regardless of the form.
If this attribute has checkbox type then please try this PHP snippet. Also, please change hp_pets in the code snippet on the hp_ + your attribute slug or field name