diff --git a/core/components/wayfinder/wayfinder.class.php b/core/components/wayfinder/wayfinder.class.php index 9aebbee..91f4f19 100644 --- a/core/components/wayfinder/wayfinder.class.php +++ b/core/components/wayfinder/wayfinder.class.php @@ -334,6 +334,13 @@ public function renderRow(&$resource,$numChildren) { $placeholders['wf.subitemcount'] = $numChildren; $placeholders['wf.attributes'] = $resource['link_attributes']; + // Add every parameter prefixed with an underscore to the placeholder array + foreach ($this->_config as $key => $value){ + if( $key[0] == '_' ) { + $placeholders["wf.$key"] = $this->_config[$key]; + } + } + if (!empty($this->tvList)) { $usePlaceholders = array_merge($placeholders,$this->placeHolders['tvs']); foreach ($this->tvList as $tvName) {