Change registration link

In a plugin that I am using there is a ‘register’ link that takes a user to default wordpress registration.

This is the code:

$output .= '<p>'.sprintf(__('You need to <a href="%s">login</a> or <a href="%s">register</a> to bookmark/favorite this content.','wpb'),wp_login_url( get_permalink() ), site_url('/wp-login.php?action=register&redirect_to=' . get_permalink())).'</p>';

What change do I need to make to link it to my custom registration page – example.com/register?

Read more here: Change registration link

Leave a Reply

Your email address will not be published. Required fields are marked *