<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Usergroup php condition - General Discussions				            </title>
            <link>https://wpforo.com/community/general-discussions/usergroup-php-condition/</link>
            <description>Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Fri, 14 Aug 2026 07:07:29 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Usergroup php condition</title>
                        <link>https://wpforo.com/community/general-discussions/usergroup-php-condition/#post-86208</link>
                        <pubDate>Thu, 16 Feb 2023 12:06:33 +0000</pubDate>
                        <description><![CDATA[Hi @blueli,
I&#039;m sorry but I cannot help you with that, You can contact the Gvectors Custom work team with your request.
Contact email: salesgvectors.com]]></description>
                        <content:encoded><![CDATA[<p>Hi <span>@blueli,</span></p>
<p>I'm sorry but I cannot help you with that, You can contact the Gvectors Custom work team with your request.</p>
<p>Contact email: salesgvectors.com</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/general-discussions/">General Discussions</category>                        <dc:creator>Chris</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/general-discussions/usergroup-php-condition/#post-86208</guid>
                    </item>
				                    <item>
                        <title>Usergroup php condition</title>
                        <link>https://wpforo.com/community/general-discussions/usergroup-php-condition/#post-86127</link>
                        <pubDate>Thu, 16 Feb 2023 06:28:12 +0000</pubDate>
                        <description><![CDATA[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?
Some...]]></description>
                        <content:encoded><![CDATA[<p>Hi. I am trying to redirect specific usergroup members to a specific forum URL. </p>
<p>I use the function below as a reference, I wonder if there a wpforo usergroup PHP condition I can use?</p>
<p>Something Like if usergroup = 6?</p>
<p>Thanks</p>
<p> </p>
<p>function custom_login_redirect_page(){</p>
<p>global $user;</p>
<p>  if ( in_array(</p>
<p>    $user-&gt;roles, array( 'editor')</p>
<p>  )) {</p>
<p>    return home_url( '/community/forum-a );</p>
<p>  }</p>
<p>}</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/general-discussions/">General Discussions</category>                        <dc:creator>blueli</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/general-discussions/usergroup-php-condition/#post-86127</guid>
                    </item>
							        </channel>
        </rss>
		