Redirect to Dashboard(Custom Page)

#Logged in User Redirect to Custom Page
add_action ( 'template_redirect', 'redirect_custom_homepage' );
function redirect_custom_homepage(){
    if ( is_user_logged_in() && is_front_page() ) {
        wp_redirect('https://example.com/custom_page/') ;
        exit();
    }
}
ExtremeWP

FREE
VIEW