For some data source types, you may want to add a prefix or suffix to each facet choice. For example, if the data is stored in an ACF Number field, but it’s actually a price or a weight. In those instances, you may want to prepend the choice label with a currency sign, e.g. , or append it with kg.

With the facetwp_facet_display_value hook, this is very easy to do. You can prepend or append any text you like. You can also use HTML.

If needed, you can do this conditionally, only for a specific facet or facet type. Or based on choice parameters like its hierarchical depth, or if it is selected.

See also

Last updated: April 23, 2026