# Constants

Source: https://uglydev.com/docs/hooks-and-filters/constants/
Updated: 19 November 2026

| Constant | Where | What it does |
| --- | --- | --- |
| `UGLY_FIELDS_PROXY_HEADER` | `wp-config.php` | The header that carries the real address of a visitor behind a proxy: `define( 'UGLY_FIELDS_PROXY_HEADER', 'HTTP_CF_CONNECTING_IP' );` |
| `UGLY_FIELDS_VERSION` | The plugin | Its version. Read only |
| `UGLY_FIELDS_DIR`, `UGLY_FIELDS_URL`, `UGLY_FIELDS_FILE` | The plugin | Its folder, address and main file. Read only |
