I need to change the link for “logged in” to a user log in url instead of wp login url.
I have checked /wp-includes/comment-template.php and that’s what I found on line 2217
/** This filter is documented in wp-includes/link-template.php */
'must_log_in' => '<p class="must-log-in">' . sprintf(
/* translators: %s: login URL */
__( 'You must be <a href="https://wordpress.stackexchange.com/questions/258398/%s">logged in</a> to post a comment.' ),
wp_login_url( apply_filters( 'the_permalink', get_permalink( $post_id ) ) )
) . '</p>',
If this is the right place to customize the “logged in” link, how should be the code with a new login page url example: yourdomain.com/my-account ??