PHP Class Give_Roles, Give
This class handles the role creation and assignment of capabilities for those roles.
These roles let us have Give Accountants, Give Workers, etc, each of whom can do
certain things within the plugin.
Exibir arquivo
Open project: wordimpress/give
Class Usage Examples
Public Methods
Method Details
__construct()
public method
Set up the Give Roles Class.
Add new shop-specific capabilities.
add_roles()
public method
Add new shop roles with default WordPress capabilities.
get_core_caps()
public method
Retrieve core post type capabilities.
remove_caps()
public method
Remove core post type capabilities (called on uninstall).