Community Support Forums — WordPress® ( Users Helping Users ) — 2010-08-17T21:30:25-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=562 2010-08-17T21:30:25-05:00 http://www.primothemes.com/forums/viewtopic.php?t=562&p=2429#p2429 <![CDATA[Re: (Pro) Downgrade to Level 0]]> Hi there. Thanks for the great question.

Well, a downgrade to Level #0 would essentially be the same as a cancellation. So you could use the Cancellation Form Generator for this. Downgrading a Member back down to Level #0, makes them a Free Subscriber again. So there is no transaction associated with this; only a demotion.

If you wanted to do something more custom, you could code something like this into your theme.

Code:
function demote_to_level_0()
    {
        $user = wp_get_current_user();
        $user->set_role("subscriber");
    }

Statistics: Posted by Jason Caldwell — August 17th, 2010, 9:30 pm


]]>
2010-08-14T19:26:00-05:00 http://www.primothemes.com/forums/viewtopic.php?t=562&p=2301#p2301 <![CDATA[(Pro) Downgrade to Level 0]]> What is the recommended way to accomplish this?

s2Member Pro version 1.1.1
WordPress 3.0.1

Statistics: Posted by johnleblanc — August 14th, 2010, 7:26 pm


]]>