Access to opt['hseparator']
-
Hi, I’m developing a theme and using this plugin, but I need to modify the separator not on the backend option but on the programatically.
I know that it’s possible to set the option by using :
$allowed_html[‘span’] = array(
‘typeof’ => true,
‘property’ => true,
‘title’ => true,
‘class’ => true,
‘id’ => true,
‘dir’ => true,
‘align’ => true,
‘lang’ => true,
‘xml:lang’ => true,
‘aria-hidden’ => true,
‘data-icon’ => true,
‘itemref’ => true,
‘itemid’ => true,
‘itemprop’ => true,
‘itemscope’ => true,
‘itemtype’ => true
);
return $allowed_html;But I don’t want to use the option page, but I want to modify it programatically.
Because the end-user of my theme would see unconfigured breadcrumb which has none of options set first. I want to remove the initial separator string then replace it with a character(icon-font) by css selector “:before” of the next element. So I need to access the ‘hseparator’ directly.How could I achieve this?
- The topic ‘Access to opt['hseparator']’ is closed to new replies.