Title: [Feature Request] Hooks
Last modified: June 10, 2020

---

# [Feature Request] Hooks

 *  [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * (@howdy_mcgee)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/feature-request-hooks-2/)
 * Hello,
 * Looking through the code of the plugin I would love to see some action hooks 
   and filter hooks added in later versions. In my experimentation of this plugin
   I noticed that if “search” isn’t added into the shortcode, all search is ignored
   for filtering. In my use-case the search is in a utility bar.
 * It would be cool to at least have a “before” and “after” hook for the form, maybe
   something like this:
 *     ```
       // do_action( 'searchandfilter_before_form' );
   
       <form>
   
       	// do_action( 'searchandfilter_form_start' );
   
       	// do_action( ''searchandfilter_form_end' );
   
       </form>
   
       // do_action( 'searchandfilter_after_form' );
       ```
   
 * You could even pass the CSS Class to the hooks to use as an “identifier”.
 * `do_action( 'searchandfilter_before_form', $class );`
 * Anyway, I thought these could be useful hooks for other developers to use so 
   I figured I would create a feature request post. Thanks for publishing this plugin
   for free, it’s a really great, straight-forward plugin!

The topic ‘[Feature Request] Hooks’ is closed to new replies.

 * ![](https://ps.w.org/search-filter/assets/icon-256x256.png?rev=3096093)
 * [Search & Filter](https://wordpress.org/plugins/search-filter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/search-filter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/search-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/search-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/search-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/search-filter/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Howdy_McGee](https://wordpress.org/support/users/howdy_mcgee/)
 * Last activity: [5 years, 12 months ago](https://wordpress.org/support/topic/feature-request-hooks-2/)
 * Status: not a support question