Get Bricks

Filter: bricks/auth/custom_lost_password_redirect

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 */;


  • $selected_lost_password_page_id (int|false): The ID of the custom lost password page if set, otherwise false.


  • (int|false): The new custom lost password page ID or false to indicate no custom page is set.