Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the gVectors community!

Merry Christmas and Happy Holidays! 🎄

[Solved] How change the redirect of 'please login to comment' in the login page of 'ultimate member' plugin?

2 Posts
1 Users
1 Reactions
2,116 Views
(@lubberkin)
New Member
Joined: 6 years ago
Posts: 2
Topic starter  

Can anyone tell me how I can change the redirect when one clicks on the word 'login' in the phrase "Please Login to comment" below the articles, by configuring it with the 'ultimate member' login page?

Now the redirect is it configured to refer the user to the wp-login.php page.

thank you

 



   
Quote
(@lubberkin)
New Member
Joined: 6 years ago
Posts: 2
Topic starter  

Solved, i have found this code on the forum::

add_filter( 'login_url', 'my_login_linkchanger');
function my_login_linkchanger( $link ) {
/*whatever you need to do with the link*/
return home_url( '/url-login-page' );
}

Thanks!



   
Elvina reacted
ReplyQuote
Share:
Scroll to top