llms_lostpassword_url( $lostpassword_url )
Returns the url to the lost password endpoint url.
Contents
Return Return
(string)
Source Source
File: includes/functions/llms.functions.page.php
function llms_lostpassword_url( $lostpassword_url ) {
if ( llms_get_page_id( 'myaccount' ) <= 0 || ! get_permalink( llms_get_page_id( 'myaccount' ) ) ) {
return $lostpassword_url;
}
return llms_get_endpoint_url( 'lost-password', '', get_permalink( llms_get_page_id( 'myaccount' ) ) );
}
Expand full source code Collapse full source code View on GitHub