Skip to content

General Settings & Audit Logging

The General Settings tab controls system auditing and automated database maintenance for the wp_adfuz_audit_logs table.

To access General Settings, navigate to WordPress Admin > AdFuz > Settings and select General.


[ Audit Log ]
Enable Audit Logging: [ (ON) Toggle ]
Write admin actions to the audit log table.
Auto-prune Logs After (days): [ 11 ]
Logs older than this will be deleted automatically. 0 = never.
  1. Enable Audit Logging (Toggle)

    • When Enabled (ON): Every create, update, delete, and status mutation performed on campaigns, ads, and ad spaces is recorded in the relational database with actor username, timestamp, and IP address.
    • When Disabled (OFF): Disables mutation tracking to reduce database write operations on resource-constrained hosting.
  2. Auto-prune Logs After (days)

    • Enter the retention threshold in days (e.g. 30 days or 60 days).
    • Records older than the specified day count are automatically purged by WordPress background cron tasks to keep your database lean.
    • Set to 0 to retain all logs indefinitely.

  1. Go to AdFuz > Settings > General.
  2. Toggle Enable Audit Logging to ON.
  3. Enter your retention window in Auto-prune Logs After (days) (e.g., 30).
  4. Click the blue Save Settings button.