Developer Information for Permission Groups

Permission Groups are feature of the PublishPress Permissions plugins. These are user groups with customizable permissions.

You can customize the permissions by several methods:

  • Adding a supplemental role to a user.
  • Adding exceptions to a role.
  • Using Editorial Circles or Visibility Circles.

Types of groups #

There are several types of Permission Groups available:

  • pp_group: groups manually created, with membership custom-defined
  • pp_group (metagroup_type = wp_role): groups auto-created to correspond to the site's WordPress roles.
  • pp_net_group: groups manually created and accessible to all sites on a multi-site network.
  • bp_group: references to existing BuddyPress groups (Pro version only)

Functions for groups #

PublishPress Permissions provides several functions to help developers integrate with group creation, access, and membership:


Functions for roles #

PublishPress Permissions provides several functions to help developers integrate with supplemental roles and exception assignment:


Functions for exceptions #

Exceptions modify a user or group's permissions for specific content (category, post, page branch, etc.). These modifications may expand or reduce access.

Functions pertaining to exceptions: