How to create a custom shortcode for custom login form? August 20, 2022 by Tarik Billa To get the URL for lost password use wp_lostpassword_url() Reference: wp_lostpassword_url()