HI
I want to control the button to select the "best answer", so that it appears only if the number of letters or words is more than a certain number
function a_selection($post)
{
$this->output('<div class="qa-a-selection f">');
if (isset($post['select_tags'])) {
$this->post_hover_button($post, 'select_tags', '', 'qa-a-select');
} else if (isset($post['unselect_tags'])) {
$this->post_hover_button($post, 'unselect_tags', '', 'qa-a-unselect');
} else if ($post['selected']) {
$this->output('<div class="qa-a-selected"> <span class="fa fa-check"></span> </div>');
}
if (isset($post['select_text'])) {
$this->output('<div class="qa-a-selected-text"> Best answer' . @$post['select_text'] . '</div>');
}
$this->output('</div>');
}