Notifications
Clear all
04/05/2018 1:16 pm
Hi @footbik,
wpDiscuz uses wp_login_url()
(/wp-includes/general-template.php) which uses a filter on its return:
return apply_filters('login_url', $login_url, $redirect);
you might be able to add a filter function to functions.php of your active theme, to influence the link; example:
add_filter( 'login_url', 'my_login_linkchanger', 11);
function my_login_linkchanger( $link ){
return wpforo_register_url();
}
More info: http://codex.wordpress.org/Plugin_API/Filter_Reference/login_url
Topic starter
05/05/2018 12:57 am
maybe I wrong asked
I want the link in the comments to lead to the page: https://www.footbik.by/login
05/05/2018 4:38 pm
Hi @footbik
use this code, put it to functions.php of your active theme.
add_filter( 'login_url', 'my_login_linkchanger', 11);
function my_login_linkchanger( $link ){
return "https://www.footbik.by/login";
}
Daisy Peel reacted