Add span with class and filter to separators #283

This commit is contained in:
Leo Germani 2019-07-30 10:11:14 -03:00 committed by Mateus Machado Luna
parent f918c92588
commit ba3931288c
1 changed files with 3 additions and 1 deletions

View File

@ -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);
} }