We’ve been looking at how to create a simple CRM system in WordPress. In the last part of this series, we added code to our plugin which allowed us to search our contacts based on the data stored in Advanced Custom Fields.Today we’ll cover how to restrict access to WordPress Administration Menu items.Roles and CapabilitiesWordPress uses the concept of Roles, where a Role can be assigned to a WordPress User
Read the original post:
Create a Simple CRM in WordPress: Restricting / Hiding Unused Admin Menu Items