<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>BuddyPress.org | Hiren Purohit | Mentions</title>
	<link>https://buddypress.org/members/crehiren/activity/mentions/</link>
	<atom:link href="https://buddypress.org/members/crehiren/activity/mentions/feed/" rel="self" type="application/rss+xml" />
	<description>Activity feed mentioning Hiren Purohit.</description>
	<lastBuildDate>Sat, 11 Apr 2026 03:16:02 +0000</lastBuildDate>
	<generator>https://buddypress.org/?v=</generator>
	<language>en-US</language>
	<ttl>30</ttl>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>2</sy:updateFrequency>
	
						<item>
				<guid isPermaLink="false">b5b240114f07cbd20c54d73ecf54f9bd</guid>
				<title>Henry Wright replied to the topic Is it possible in buddypress that user can register with two role ? in the forum Installing BuddyPress</title>
				<link>https://buddypress.org/support/topic/is-it-possible-in-buddypress-that-user-can-register-with-two-role/#post-233124</link>
				<pubDate>Thu, 29 Jan 2015 16:47:44 +0000</pubDate>

									<content:encoded><![CDATA[<p>Hi <a href="https://buddypress.org/members/crehiren/" rel="nofollow ugc">@crehiren</a></p>
<p>You can do that quite easily. For example, if you wanted to add a new role to the currently logged-in user then you could do this:</p>
<p><code>// Get a WP_User object for the current user.<br />
$user = wp_get_current_user();</p>
<p>// Use the add_role() method to add the editor role to this user.<br />
$user-&gt;add_role( &#039;editor&#039; );</code></p>
]]></content:encoded>
				
				
							</item>
		
	</channel>
</rss>