From 0de0b43b426a7a07c09cfc30d74ee1e7f7f891da Mon Sep 17 00:00:00 2001 From: Nikolai R Kristiansen Date: Tue, 12 Sep 2017 18:34:59 +0200 Subject: [PATCH] Add custom password URL to theme --- aktiv2014/functions.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/aktiv2014/functions.php b/aktiv2014/functions.php index f736b9d..2c1d68a 100644 --- a/aktiv2014/functions.php +++ b/aktiv2014/functions.php @@ -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');