woof_terms_where_hidden_childs
Utiliza para qualquer termo com termos filhos quando necessário ocultar os termos filhos em tudo: checkboxes, rádio, select, mselect, rótulos.
add_filter('woof_terms_where_hidden_childs', function($term_id)
{
$hide_array=array(11,22,33,44,55,66,77);
if (in_array($term_id, $hide_array))
{
return true;
}
return false;
}, 1, 1);