This topic contains 0 replies, has 1 voice. Last updated by aly ielts 4 years, 6 months ago.
Topic Author | Topic |
---|---|
Posted: Wednesday Jul 11th, 2012 at 12:11 am #18856 | |
How is one to programatically change Page Level Restriction for a page. UseCase: So far: The last stumbling block is being able to assign Currently it is defaulting to “blank” and the newly created user can’t access their page until i manually update their page with “requires level 0 or higher”. This information is stored in the options for S2member under page restrictions.
I’ve tried adding the new page ID to the comma delimited string from above but the change isn’t persisted to the DB and subsequently doesn’t work. I also tried a method call that i thought might update the s2Member options.
I imagine this isn’t as hard as i’m making it. Btw loving the plugin so far. Cheers ps: |