Undo a function that is not (seemingly) hooked to an action?
If you are 100% sure that is the line you have to change then just create your own function to do the same thing. function my_popup_link() { echo get_permalink() . ‘#disqus_thread’; } Then replace the function call in your template with your own.