-
Notifications
You must be signed in to change notification settings - Fork 1
Hooks and Filters
Michiel Tramper edited this page Dec 11, 2019
·
2 revisions
The Waterfall Reviews plugin has a couple of filters. It also uses many filters and hooks from the Waterfall Reviews theme. The hooks of this theme are described here.
All of the Filter Hooks are mentioned below.
| Name | Passed parameters | Description |
|---|---|---|
'waterfall_reviews_configurations' |
$configurations | Allows to filter all the configurations added by the plugin. |
'wfr_components_template_{template}' |
$path | Filters the path to an actual templates. Thus, allows to replace one of the templates added by Waterfall Reviews. Valid values for {template} are charts, compare, filter, prices, properties, rating, reviews and summary. |
'wfr_components_props_{template}' |
$props | Filters the properties passed to templates. Thus, allows for modification of data (properties) in templates added by Waterfall Reviews. Valid values for {template} are charts, compare, filter, prices, properties, rating, reviews and summary. |
'widget_title' |
$instance['title'] | Filters the widget title for the custom widgets added by Waterfall Reviews. |
The Waterfall WordPress Reviews Plugin was developed by Michiel Tramper from Make it WorkPress