FCHubFCHub.co

FCHub Memberships

Complete membership system for FluentCart with plan management, content protection, drip scheduling, trial periods, email notifications, analytics, and deep FluentCRM and FluentCommunity integrations.

FCHub Memberships adds a full membership system to FluentCart. I built it to handle everything from simple "pay once, access forever" setups to complex multi-tier subscriptions with drip-fed content, trial periods, and automated lifecycle management through FluentCRM.

The plugin integrates directly into FluentCart's integration feed system. When a customer purchases a product, the feed fires and grants membership access — no custom code required. From there, content protection, drip scheduling, email notifications, and CRM automation all work together automatically.

What It Does

Membership Plans

Create unlimited plans with configurable levels, durations, trial periods, membership terms, and hierarchical includes. Plans link to FluentCart products through integration feeds.

Content Protection

Protect posts, pages, custom post types, taxonomies, menu items, URLs, comments, and special pages. Choose between restriction messages, redirects, or teaser content.

Drip Scheduling

Release content on a schedule — delay by days after purchase or set fixed unlock dates. Members see a progress bar and receive email notifications when new content becomes available.

Trial Periods

Offer free trials with automatic conversion to paid when a subscription payment is confirmed, or automatic expiration when no payment arrives.

Email Notifications

Eight transactional emails cover the full membership lifecycle: welcome, expiring, revoked, drip unlocked, paused, resumed, trial converting, and trial expiring.

FluentCRM Automation

15 triggers, 7 actions, 7 benchmarks, 25+ smart codes, contact profile sections, and segment filters. Automate every aspect of the membership lifecycle.

FluentCommunity Sync

Automatically add members to community spaces and groups. Assign and revoke badges based on plan membership.

LearnDash Integration

Protect LearnDash courses and lessons with membership plans. Grant and revoke course enrollment automatically.

Analytics & Reports

Dashboard with active members, plan distribution, churn analysis, revenue tracking, and content popularity. Daily stats aggregation with historical data.

CSV Import

Import members from CSV files. Includes a dedicated PMPro parser for migrating from Paid Memberships Pro.

Webhooks

Send membership events to external services via HMAC-SHA256 signed webhooks. Supports multiple URLs with async delivery through Action Scheduler.

WP-CLI Commands

Full command-line interface for managing grants, checking access, running stats, processing drip schedules, and exporting member data.

Architecture Overview

Database Tables

The plugin creates 10 custom database tables (prefixed with wp_fchub_membership_):

TablePurpose
plansMembership plan definitions with levels, durations, and settings
plan_rulesContent rules linking plans to resources with drip configuration
grantsIndividual access grants connecting users to plans and resources
grant_sourcesJunction table tracking order/subscription sources for each grant
event_locksIdempotency table preventing duplicate grant processing
protection_rulesPer-resource protection configuration (messages, teasers, CTAs)
validity_logSubscription validity tracking for expiration detection
drip_notificationsScheduled drip unlock notification queue
stats_dailyDaily aggregated statistics for reporting
audit_logFull audit trail of membership changes

Requirements

RequirementVersion
WordPress6.5+
PHP8.3+
FluentCartRequired (any version)
FluentCRMOptional — enables automation triggers, actions, benchmarks, smart codes
FluentCommunityOptional — enables space/group sync and badge assignment
LearnDashOptional — enables course/lesson protection
Node.js20+ (development only, not needed for production)

FluentCart Dependency

FCHub Memberships requires FluentCart to be installed and activated. The plugin checks for FLUENTCART_VERSION at initialization and shows an admin notice if FluentCart is missing. All features depend on FluentCart's order and subscription system.

Cron Jobs

The plugin registers 7 WP-Cron events and 2 Action Scheduler hooks:

Cron EventIntervalPurpose
fchub_memberships_validity_checkEvery 5 minutesCheck subscription validity and fire expiration events
fchub_memberships_drip_processHourlyProcess pending drip notifications
fchub_memberships_expiry_notifyDailySend access expiring soon emails
fchub_memberships_daily_statsDailyAggregate daily statistics and check grant anniversaries
fchub_memberships_trial_checkDailyCheck trial expirations and send trial expiring notifications
fchub_memberships_plan_scheduleHourlyProcess scheduled plan status changes
fchub_memberships_audit_cleanupWeeklyClean up audit log entries older than 90 days

Action Scheduler hooks:

HookPurpose
fchub_memberships_send_emailAsync email delivery
fchub_memberships_dispatch_webhookAsync webhook dispatch

What's Next

On this page