Filter: bricks/auth/custom_login_redirect
This filter allows customization of the redirect page ID for the login page.
Example Usage:
Section titled “Example Usage:”add_filter( 'bricks/auth/custom_login_redirect', function( $selected_login_page_id ) { return /* New login page ID */;});Parameters:
$selected_login_page_id(int|false): The ID of the custom login page if set; otherwise,false.
Return:
- (int|false): The custom page ID for login redirection, or
falseif no custom page is designated.
Was this helpful?
A quick vote and short notes help us improve these docs faster.
Leave a note for us
Thanks for sharing feedback. We're using it to improve these docs.