Roles and Capabilities
-
I have a website.. I am allowing users to create their own site and when they activate their blog I have a function that hooks into ‘wpmu_activate_blog’. I update wp_xxx_user_roles and wp_user_roles with the the new roles and capabilities array. However, once the user logs in it appears that they are working, but if any menu item is clicked all the menu items dissappear.
Is there something I am doing wrong? If I use the plugin ‘user role editor’ then everything works. But I need this to work automatically. Is there a tutorial on this or is there any tips you can give me. I know this should work, but for some reason it is not.
I have been racking my brain for days and I need to get this resolved.
Thanks
The topic ‘Roles and Capabilities’ is closed to new replies.