DMSI Webhooks stores configuration and state in the following WordPress options (wp_options table).
Options #
| Option Key | Type | Description |
|---|---|---|
dmsi_webhook_settings | JSON | Main plugin settings (see fields below) |
dmsi_webhooks_db_version | string | Database schema version (e.g., 1.1) |
dmsi_webhooks_license | JSON | License data: encrypted key, status, dates, activation counts |
dmsi_webhooks_license_key | string | Plaintext license key for unified DMSI license UI |
dmsi_webhooks_license_status | string | Current license status: active, inactive, expired, invalid, grace_period |
dmsi_webhooks_queue_status | string | Queue state: paused or running |
dmsi_webhooks_cleanup_report | JSON | Result of last dmsi_webhooks_daily_cleanup run |
dmsi_webhooks_notification_frequency | string | Notification mode: immediate, daily, or off |
dmsi_webhook_settings Fields #
| Field | Type | Default | Description |
|---|---|---|---|
log_retention_days | integer | 30 | Days to retain delivery log entries |
notification_email | string | Admin email | Email address for failure notifications |
notification_frequency | string | immediate | Notification mode: immediate, daily, off |
rate_limit | integer | 60 | REST API requests per minute per user |
queue_paused | boolean | false | Whether the delivery queue is paused |
max_concurrent | integer | — | Max concurrent Action Scheduler jobs |
default_timeout | integer | 30 | Default HTTP timeout for new endpoints |
allow_http | boolean | false | Allow HTTP (non-HTTPS) endpoint URLs |
disable_ssl_verify | boolean | false | Disable SSL certificate verification (testing only) |
auto_updates | boolean | true | Enable automatic plugin updates |
Reading Settings Programmatically #
$settings = get_option('dmsi_webhook_settings', []);
$retention = $settings['log_retention_days'] ?? 30;
$is_paused = get_option('dmsi_webhooks_queue_status') === 'paused';
$status = get_option('dmsi_webhooks_license_status');
Database Tables #
| Table | Purpose |
|---|---|
{prefix}_dmsilm_webhook_endpoints | Endpoint definitions |
{prefix}_dmsilm_webhook_subscriptions | Endpoint-event mappings |
{prefix}_dmsilm_webhook_logs | Delivery records |
{prefix}_dmsilm_webhook_customizations | Payload customization rules |
Related Topics #
- WP-Cron Jobs Reference
- Payload Customization
- Troubleshooting Overview
