Installation
Requirements
| Requirement | Value |
|---|---|
| WordPress | 6.5 or higher |
| PHP | 8.1 or higher (the plugin header lists 8.0, the activator enforces 8.1) |
| WooCommerce | 8.0+ for paid plans (HPOS + Cart/Checkout Blocks both declared) |
| Orravo Core | Hard dependency. Plugin refuses to boot without ORRAVO_CORE_LOADED |
| Action Scheduler | Ships with Woo. Required for the hourly drip, expire, lifecycle, and daily health/analytics workers |
Steps
- Install and activate Orravo Core.
- Install and activate OMembership (zip upload or Plugins screen).
- Activation creates 24 database tables under the
wp_omem_*prefix, registers 12 capabilities onadministrator+shop_manager, and seeds three pages:/paywall,/members,/directory. - Five recurring Action Scheduler jobs are queued idempotently (so re-running activation never duplicates them):
- omembership/access/expire-sweep (hourly)
- omembership/drip/release (hourly)
- omembership/lifecycle/run (hourly)
- omembership/health/recompute (daily)
- omembership/analytics/snapshot (daily)
- Open OMembership in the WordPress sidebar to land on the dashboard.
Constants exposed on activation
phpOMEMBERSHIP_VERSION // current plugin version (e.g. 1.0.5)
OMEMBERSHIP_PATH // server path to the plugin directory
OMEMBERSHIP_URL // public URL to the plugin directory
OMEMBERSHIP_BASENAME // basename for plugin_action_links filter
OMEMBERSHIP_FILE // absolute path to omembership.php
OMEMBERSHIP_REST_NS // 'omem/v1' - REST API namespace
OMEMBERSHIP_DB_VERSION // schema version for migrationsDegraded modes
OMembership boots without WooCommerce, but only free and lifetime-grant plans are usable. The dashboard shows an admin notice asking you to install Woo + OSubscribe for paid recurring plans. The notice clears itself once Woo is active.
Uninstall
uninstall.php drops all wp_omem_ tables and removes the seven omembership_ options. The bundled engagement module's wp_or_* tables (xp, badges, sessions, login_attempts, notifications, etc.) follow their own uninstall path defined in modules/engage/uninstall.php.

