Content of the article
Uses for any term with child's terms when its necessary hide that child's terms at all in: checkboxes, radio,select,mselect,labels.
1 2 3 4 5 6 7 8 9 10 | 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); |
