Change The Order The Filters Appear In
-
I need to change the order the filters appear in to a custom order. I saw the code supplied here: https://caf.trustyplugins.com/docs/documentation/developers/hooks-to-use/
add_filter(‘tc_caf_filter_order_by’, ‘tc_caf_function_filter_order_by’, 10);
function tc_caf_function_filter_order_by($terms) {
sort($terms);
return $terms;
}I’m just not sure where to add it. I would appreciate the help.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Change The Order The Filters Appear In’ is closed to new replies.