Is there a way to edit a text in url given by get_term_link()
I want to replace this text listing-category/
in all the links generated by get_term_link()
Till now I have been using the following code to do it manually wherever i wanted but now I realize that it will be efficient .
$term_link= str_replace('listing-category/', 'jobs/?fwp_cate=", get_term_link( $term ));
$term_link= rtrim($term_link, "https://wordpress.stackexchange.com/");
So is there a way to apply the above code in all the get_term_link()
Please help me out on this