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.
Afficher le fichier
Open project: wordimpress/give
Class Usage Examples
Méthodes publiques
Method Details
__construct()
public méthode
Set up the Give Roles Class.
add_caps()
public méthode
Add new shop-specific capabilities.
add_roles()
public méthode
Add new shop roles with default WordPress capabilities.
get_core_caps()
public méthode
Retrieve core post type capabilities.
remove_caps()
public méthode
Remove core post type capabilities (called on uninstall).