EDD_Roles
EDD_Roles Class
Description Description
This class handles the role creation and assignment of capabilities for those roles.
These roles let us have Shop Accountants, Shop Workers, etc, each of whom can do certain things within the EDD store
Source Source
File: includes/class-edd-roles.php
Changelog Changelog
Version | Description |
---|---|
1.4.4 | Introduced. |
Methods Methods
- __construct — Get things going
- add_caps — Add new shop-specific capabilities
- add_roles — Add new shop roles with default WP caps
- get_core_caps — Gets the core post type capabilities
- meta_caps — Map meta caps to primitive caps
- remove_caps — Remove core post type capabilities (called on uninstall)