WordPress Membership Plugin
Thanks v very much – I read this already … I’m trying to include a check on categories in a template I’m writing … something like:
$access_ctrl = SwpmAccessControl::get_instance();
if ($access_ctrl->can_i_read_category($category)){
//do something
}
I want to test if a user can read a particular category rather than can read a particular post. Is that clear now?
Thanks
Laurence
I checked and my MAMP is up to date …
So I tried setting up a completely new instal with only standard wordpress and Simple membership … and it seems to be working! I’ve created a custom theme and plugin (neither with any real functionality yet) and everything seems to be working.
.. maybe my wordpress instal was corrupted or maybe I had done something wrong last time … (who knows!) …
Thanks for your help – I like the plugin (by the way) it does exactly what I want and the documentation seems really clear (… unlike some). Best wishes!