Influenzic operates on a two-sided marketplace model. Every user is either a Brand or an Influencer. The role is set at registration and determines every aspect of the user’s frontend experience. Roles are implemented as native WordPress roles with custom capabilities — no third-party role plugin is required.
Role Slugs
Influenzic registers two WordPress roles on first activation:
inzc_brand— a company or individual running influencer marketing campaignsinzc_influencer— a content creator who applies to and delivers campaigns
Capabilities
| Capability | inzc_brand | inzc_influencer |
|---|---|---|
inzc_create_campaign |
✓ | — |
inzc_edit_own_campaign |
✓ | — |
inzc_delete_own_campaign |
✓ | — |
inzc_view_applicants |
✓ | — |
inzc_send_invitation |
✓ | — |
inzc_use_bulk_invite |
✓ | — |
inzc_approve_deliverable |
✓ | — |
inzc_view_own_projects |
✓ | ✓ |
inzc_apply_to_campaign |
— | ✓ |
inzc_accept_invitation |
— | ✓ |
inzc_decline_invitation |
— | ✓ |
inzc_submit_deliverable |
— | ✓ |
inzc_request_extension |
— | ✓ |
inzc_connect_social |
— | ✓ |
inzc_send_message |
✓ | ✓ |
inzc_view_own_wallet |
✓ | ✓ |
inzc_request_withdrawal |
✓ | ✓ |
inzc_open_dispute |
✓ | ✓ |
read (WordPress standard) |
✓ | ✓ |
| Any other WordPress capability | — | — |
WordPress Backend Restriction
Both roles have only the read WordPress capability, which grants no access to /wp-admin/ beyond the profile screen. Influenzic additionally blocks backend access entirely — any attempt by an inzc_brand or inzc_influencer user to load an admin page triggers an immediate redirect to the platform frontend.
Checking Roles in Code
Use standard WordPress capability checks — never hard-code role slug comparisons:
// Correct — check capability, not role
if ( current_user_can( 'inzc_create_campaign' ) ) { ... }
// Also correct for binary role check
if ( in_array( 'inzc_brand', (array) wp_get_current_user()->roles, true ) ) { ... }
Admin Role Management
As a site administrator you can:
- Change a user’s role from brand to influencer (or vice versa) under Users → Edit User
- View all users filtered by role in Influenzic → Users
- Ban or unban a user from the Users admin panel (recorded in
wp_inzc_ban_log) - Clear an influencer’s onboarding flag to force them through the wizard again