DocsOCodeInsertSettings & Safe Mode
Reference

Settings & Safe Mode

OCodeInsertorravo.com/docs/ocodeinsert/settings-safe-mode

Settings Page

Navigate to OCodeInsert → Settings (top nav tabs).

Global Enable/Disable — master switch. When off, no snippets are injected but all data is preserved.

Safe Mode — suspends all snippet output globally. An amber notice bar appears in the admin.

URL bypass — append ?oci_safe=1 to any frontend URL to disable snippets for that single page request, without affecting other visitors.

https://example.com/my-page/?oci_safe=1

Role Permissions — choose which WordPress roles can access the OCodeInsert admin. Administrators always have access.

Error Log — internal log of processing issues, max 50 entries. Click Clear Log to delete all.

Data Storage

OCodeInsert uses only wp_options — no custom tables.

Option keyContents
oci_code_snippetsJSON-encoded array of all snippets
oci_settingsPlugin settings (enabled, safe_mode, allowed_roles)
oci_error_logArray of error log entries (max 50)

Optimal for up to ~50 snippets. OCodeInsert Pro automatically migrates to a dedicated DB table above 50 snippets.

Uninstall

Deleting the plugin via Plugins → Delete runs uninstall.php:

  • Deletes oci_code_snippets
  • Deletes oci_settings
  • Deletes oci_error_log

Deactivating does not delete data.

Settings & Safe Mode — OCodeInsert Docs — Orravo