Limited Support
Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.
Hi. I am trying to redirect specific usergroup members to a specific forum URL.
I use the function below as a reference, I wonder if there a wpforo usergroup PHP condition I can use?
Something Like if usergroup = 6?
Thanks
function custom_login_redirect_page(){
global $user;
if ( in_array(
$user->roles[0], array( 'editor')
)) {
return home_url( '/community/forum-a );
}
}
Hi @blueli,
I'm sorry but I cannot help you with that, You can contact the Gvectors Custom work team with your request.
Contact email: sales[at]gvectors.com