[Ignore Content] Support button ignore to template

Truonglv

Staff member
Tech Support
[Ignore Content] Support button ignore to template

I have a highly customzed forum theme and I want to replace "Ignore" button to link.
But as I see, button code doesn't includes in any tempates - it forms in callback.php
PHP:
        $options = [
'href' => $ignoreLink,
'class' => 'button--link',
'data-xf-click' => $contentType === Listener::CONTENT_TYPE_FORUM ? 'overlay' : 'switch'
];

.................

        return $templater->button($text, $options);
Could you fix it in the next update?
 

Thread view new threads

Top