Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Search: Add a hook on returning filters. (#10706)
I recently had a use case where I wanted to add custom filters (i.e. not a taxonomy, post type or date histogram) and found I could set the filter no problem but get_filters would ignore it as it wasn't supported. I'd like to be able to easily support custom filters through a hook into get_filters().
- Loading branch information