Plugin creation, restricting access to specific roles
WordPress previously had the concept of user levels before and you could check which level current user is. But it has been changed to Roles and Capabilities system. In this system, each task is defined as a capability and certain user Roles have that capability. With this, you can create new capabilities. Say, you want … Read more