Add span with class and filter to separators #283
This commit is contained in:
parent
f918c92588
commit
ba3931288c
|
@ -257,7 +257,9 @@ class Taxonomy extends Metadata_Type {
|
||||||
|
|
||||||
$terms = \array_reverse($terms);
|
$terms = \array_reverse($terms);
|
||||||
|
|
||||||
return \implode(' > ', $terms);
|
$glue = apply_filters('tainacan-terms-hierarchy-html-separator', '<span class="hierarchy-separator"> > </span>');
|
||||||
|
|
||||||
|
return \implode($glue, $terms);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue