title: WordPress Create Custom Capability
body: <p>I'm developing a shopping cart plugin, and planning to create a new user role for customers. </p>
  
  <p>My question is how to create custom capabilities so that i can assign these custom capabilities to the new user role, <a href="https://stackoverflow.com/questions/8198038/wordpress-capabilities-for-custom-post-type">this answer</a> provided a way to create new capabilities, but it is just a new name for the original capabilities.</p>
  
  <p>Can anyone explain how to create a brand new capability which controls some custom functions?</p>