Reset FacetWP Filters

If you want to add a button to reset your FacetWP filters, you may use the snippet below:

[facetwp facet="categories"]

<button value="Reset" onclick="FWP.reset()" class="facet-reset" />Reset Filters</button>