Easy Digital Downloads
  • Package
  • Class
  • Tree

Packages

  • EDD
    • Admin
      • Actions
      • Add-ons
      • Dashboard
      • Discounts
      • Downloads
      • Export
      • Notices
      • Pages
      • Payments
      • Reports
      • Settings
      • System
      • Upgrades
      • Upload
      • Welcome
    • Cart
    • Checkout
    • Classes
      • API
      • Fees
      • HTML
      • Roles
      • Session
    • Emails
    • Functions
      • AJAX
      • Compatibility
      • Errors
      • Formatting
      • Install
      • Login
      • Taxes
      • Templates
    • Gateways
    • Logging
    • Payments
    • Shortcodes
    • Widgets

Classes

  • EDD_Roles

Class EDD_Roles

EDD_Roles Class

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

Package: EDD\Classes\Roles
Copyright: Copyright (c) 2012, Pippin Williamson
License: GNU Public License
Since: 1.4.4
Located at includes/class-edd-roles.php

Methods summary

public
# __construct( )

Get things going

Get things going

Since

1.4.4

See

EDD_Roles::add_roles()
EDD_Roles::add_caps()
public
# add_roles( )

Add new shop roles with default WP caps

Add new shop roles with default WP caps

Since

1.4.4
public
# add_caps( )

Add new shop-specific capabilities

Add new shop-specific capabilities

Since

1.4.4
public array
# get_core_caps( )

Gets the core post type capabilties

Gets the core post type capabilties

Returns

array
$capabilities Core post type capabilties

Since

1.4.4
public
# remove_caps( )

Remove core post type capabilities (called on uninstall)

Remove core post type capabilities (called on uninstall)

Since

1.5.2

Magic methods summary

Easy Digital Downloads API documentation generated by ApiGen 2.8.0