Add custom password URL to theme

This commit is contained in:
nikolark committed 2017-09-12 18:34:59 +02:00
1 parent 3a07ce652b
commit 0de0b43b42
1 file changed
+5 -1
+5 -1
View File
@@ -417,4 +417,8 @@ function restricted_description( $description ) {
}
add_filter('opengraph_description', 'restricted_description');
?>
/* Custom password reset URL */
function neuf_lostpassword_url( $pwd ) {
return 'https://galtinn.neuf.no/auth/password_reset/';
}
add_filter( 'lostpassword_url' , 'neuf_lostpassword_url');