View Categories

Configuration

4 Docs

Configuration Overview

Last Updated: March 31, 2026

What This Extension Adds Core DDLS does not introduce dedicated plugin configuration infrastructure beyond standard WordPress settings. DMSI Advanced API adds a structured configuration layer: settings are stored as WordPress options in wp_options, some are configurable through the admin UI (under the DDLS Developer admin shell), and an optional environment.php file at the plugin root...

Key Plugin Options

Last Updated: March 31, 2026

The following options are created by the plugin on activation. All are stored in wp_options. Option Type Default Description dmsi_aapi_version string (plugin version) Current installed plugin version dmsi_aapi_installed_date string (activation date) ISO 8601 timestamp of first activation dmsi_aapi_environment string production Runtime environment: production, staging, or development dmsi_aapi_activated_at string (activation date) Timestamp of most recent plugin...

Environment Configuration

Last Updated: March 31, 2026

Switching Environments To set the environment programmatically: update_option('dmsi_aapi_environment', 'development'); To set the environment using environment.php, place a file at the plugin root (wp-content/plugins/dmsi-advanced-api/environment.php) with content such as: <?php return [ 'environment' => 'development', 'jwt_access_ttl' => 7200, ]; Values in environment.php override the corresponding database options at runtime. Environment Behavior Differences Behavior production staging development HTTPS...

WP-Cron Jobs

Last Updated: March 31, 2026

DMSI Advanced API registers the following WP-Cron events on activation. Cron Hook Schedule Purpose dmsi_aapi_rate_limit_cleanup Every 5 minutes (dmsi_aapi_five_minutes) Deletes expired fixed-window counter rows from dmsi_aapi_rate_limit_counters dmsi_aapi_cleanup_jwt_blacklist Daily Deletes blacklist entries whose associated JWT has already expired dmsi_aapi_cleanup_oauth_tokens Hourly Deletes expired and revoked OAuth access and refresh tokens dmsi_aapi_key_expiry_check Daily Sends expiry warning emails for...