If your plugin allows users to submit data—be it on the Admin or the Public side—it should check for User Capabilities. User Roles and…| WordPress Developer Resources