I was editing a wordpress theme. Where i need to replace default wp login link with custom login link.
Problem is, comment_reply_link() function is returning the default link. And i dont want to edit wp-include/comment-template.php
Is there any other way, so that without manipulation of any wordpress file i can replace the default login url.
I already had tried
apply_filters('login_url', $login_url,get_permalink());
before calling comment_reply_link(). But it is not filtering resulting URL.