add_filter(‘wsl_process_login_get_redirect_to’,’wp_social_plugin_custom_redirect’);function wp_social_plugin_custom_redirect() { return get_permalink(2);} add_filter(‘login_redirect’,’bpdev_redirect_to_profile’,100,3);function wp_custom_redirect( $redirect_to, $request, $user ) { global $user; if ( isset( $user->roles ) &&…