Description
FacetWP Hooks addon exposes PHP action hooks and filters from FacetWP, allowing developers to intercept the default behavior of facets, results, and listing templates directly in functions.php or custom plugins. Targeted at those who need to adjust query rules, modify displayed labels or trigger custom logic during the rendering of facet searches, this add-on opens the FacetWP engine for tailored customizations without changing the core plugin code.
Key Features
- PHP action hooks and filters
Provides extension points to intercept the FacetWP execution flow via code. - Query manipulation
Allows you to alter WP_Query parameters used by facet listings before execution. - Rendering customization
Modifies the output HTML of facets, counters, and results according to your own rules. - Integration with external plugins
Facilitates communication between FacetWP and other plugins via PHP events. - Compatibility with theme templates
Attaches conditional logic to active templates without editing base plugin files.
Benefits of the Hooks
- Customization without editing core
Improvements stay in your own code, preserving secure FacetWP updates. - Granular control over searches
Specific business rules now influence facet results and behaviors. - Development agility
Reduces implementation time of advanced rules with ready extension points. - Greater technical flexibility
Opens the path to on-demand integrations aligned with the client’s project.
Who is it for?
- WordPress developers building advanced facet searches with FacetWP.
- Agencies delivering custom projects that involve dynamic filters and complex listings.
- Technical teams that need to adapt FacetWP’s default behavior to specific business rules.
Targeted at a technical profile, the FacetWP Hooks transforms FacetWP into an extensible platform, allowing every detail of facet operation to be adjusted via code. It is the natural choice for projects that require custom filtering rules, specific integrations with other plugins, and deep refinement of how results appear to the end visitor.
Frequently asked questions
Is FacetWP Hooks GPL-licensed?
Yes. FacetWP Hooks is distributed under the GPL (GNU General Public License). You may legally use, modify and redistribute it on as many sites as you want.
Can I use FacetWP Hooks on multiple sites?
Yes. You can install FacetWP Hooks on as many sites as you want. Only automatic updates through Ultrapack Auto Updater have a limit: from 3 to 80 sites, depending on the plan.
How much does FacetWP Hooks cost at Ultrapack?
FacetWP Hooks costs US$3.99 as a single purchase, and it is also included in the subscription plans starting at US$8.40/mo (VIP I).
Does FacetWP Hooks include updates?
Yes. The current version of FacetWP Hooks is 1.0, published at Ultrapack on Sep 19, 2022. Subscribers update straight from the WordPress dashboard with UAU (Ultrapack Auto Updater).
Is FacetWP Hooks scanned before publication?
Yes. Every version of FacetWP Hooks goes through a malware scan (ClamAV and YARA rules, at UltraHub) before it is published.
How to install
Automatic updates: this item is updated by the Ultrapack Auto Updater. With it installed, the new version shows up in your dashboard like any other WordPress update (how to set it up).
This item is an add-on for the FacetWP plugin. Installed on its own it throws no error, but it does not work either.
Through the Ultrapack Auto Updater Catalog
- Install and activate Ultrapack Auto Updater on your WordPress site and connect it to your account (setup instructions).
- Open Ultrapack Auto Updater in your WordPress dashboard, go to Catalog and select Plugins.
- If this item is an add-on or requires a free version, install and activate the main plugin identified in this guide first.
- Find this item by name and click Install when that button is available. Wait for the installation to finish; the Catalog does not require you to download or extract the ZIP manually.
- For individual installations, UAU tries to activate the plugin when it finishes. If a dependency warning appears, install and activate the required main plugin, then activate the add-on under Plugins.
- Your account needs access to this item. Installing through the Catalog uses the same download quota as your account.
- If you only see Download from the website, or the item cannot be installed through the Catalog, follow the manual instructions below.
Manual installation
- Install and activate the FacetWP plugin before this one.
- Download the file
custom-hooks.zip. - In the WordPress dashboard, go to Plugins > Add New > Upload Plugin.
- Select the file
custom-hooks.zip, click Install Now and then Activate.
- Both stay active at the same time. Deactivating the FacetWP plugin turns this add-on off with it.
- An add-on settings usually show up inside the main plugin screens, not in a menu of their own. If you find nothing new in the dashboard after activating, look there before opening a ticket.
Stuck on a step? Open a ticket telling us which one you stopped at.
