Skip to content

Instantly share code, notes, and snippets.

@MrVibe
Created August 4, 2021 06:40
Show Gist options
  • Save MrVibe/f1dfd72c55edfcdf01132e28ec844650 to your computer and use it in GitHub Desktop.
Save MrVibe/f1dfd72c55edfcdf01132e28ec844650 to your computer and use it in GitHub Desktop.
VibeBP Login redirect
add_filter('jwt_auth_token_validate_before_dispatch',function($data){
$data['redirect_component'] ='https://YOUR redirect page URL';
return $data;
});
@wpdev06
Copy link

wpdev06 commented Aug 4, 2021

It's not working I have added the code in function.php file but nothing works.

@MrVibe
Copy link
Author

MrVibe commented Aug 5, 2021

Make sure you login from vibebp login.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment