PHP Класс 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.
Показать файл
Открыть проект
Примеры использования класса
Открытые методы
Описание методов
__construct()
публичный Метод
Set up the Give Roles Class.
add_caps()
публичный Метод
Add new shop-specific capabilities.
add_roles()
публичный Метод
Add new shop roles with default WordPress capabilities.
get_core_caps()
публичный Метод
Retrieve core post type capabilities.
remove_caps()
публичный Метод
Remove core post type capabilities (called on uninstall).