return '<span class="bbcode-hide-content login"> ' .
$this->translator->trans('imeepo-more-bbcode.forum.login_to_see',
array(
'{login}' => '<a href="javascript:void(0);" class="login2see_login">' . $this->translator->trans('core.forum.header.log_in_link') . '</a>',
)
) . '</span>';
I have the above code in my flarum plugin..
I want to switch to js but don't know how?
Hope the helping