Thank you for the guidance! I figured that I’d have to change the function name, but doing so still wasn’t working before. I’m not super well versed in Javascript yet so I missed the fact that the second part of the ‘add_filter’ section is the function name too, since the first and second sections within it were the same in the example. It now works when I have it set like this:
// this is the snippet that adds the filter, calling the function below.
add_filter(‘geodir_detail_page_tab_list_extend’, ‘geodir_detail_page_tab_list_reorder’) ;
// this is the function that does the re-ordering that we call with the add filter snippet above.
function geodir_detail_page_tab_list_reorder($tab_array)
For reference, in case someone else needs it.
May I suggest a change to one of the originally mentioned articles though? Personally it seems a little odd that two tutorials that should be compatible have conflicting functions like that.
Thanks again!