public function onReplaceInsertTags($tag)
    {
        $elements = explode('::', $tag);
        $key = strtolower($elements[0]);
        if (in_array($key, $this->supportedTags, true)) {
            return $this->replaceThemeInsertTag($elements[1], $elements[2]);
        }
        return false;
    }
public function onReplaceInsertTags($tag)
    {
        $elements = explode('::', $tag);
        $key = strtolower($elements[0]);
        if (in_array($key, $this->supportedTags, true)) {
            return $this->replaceThemeInsertTag($elements[1], $elements[2]);
        }
        return false;
    }
public function onReplaceInsertTags ( $ tag ) { $ elements = explode ( '::' , $ tag ) ; $ key = strtolower ( $ elements [ 0 ] ) ; if ( in_array ( $ key , $ this -> supportedTags , true ) ) { return $ this -> replaceThemeInsertTag ( $ elements [ 1 ] , $ elements [ 2 ] ) ; } return false ; }
Replaces theme insert tags.

@param string $tag

@return string|false
Replaces theme insert tags .