This filter enables the modification of the redirect page ID for the lost password page.
Example Usage:
add_filter( 'bricks/auth/custom_lost_password_redirect', function( $selected_lost_password_page_id ) {
return /* New lost password page ID */;
});
Parameters:
$selected_lost_password_page_id
(int|false): The ID of the custom lost password page if set, otherwisefalse
.
Return:
- (int|false): The new custom lost password page ID or
false
to indicate no custom page is set.