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 key | Contents |
|---|---|
oci_code_snippets | JSON-encoded array of all snippets |
oci_settings | Plugin settings (enabled, safe_mode, allowed_roles) |
oci_error_log | Array 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.
