• 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.