---
title: Admin Email Showing in Public Source Code
description: "**Issue:** The admin email may appear in the public page source. **Temporary Fix:** Add the following code to your active theme’s `functions.php` file: ``` add_filter( 'etn_locale_vars', function ( $data ) { $data['admin_email'] = 'hidden'; return $data; }, 99 ); ```…"
url: "https://themewinter.com/docs/plugins/eventin/admin-email-showing-in-public-source-code/"
updated: "2026-01-24"
category: Eventin / Troubleshooting
---

# Admin Email Showing in Public Source Code

**Issue:**
The admin email may appear in the public page source.

**Temporary Fix:**
Add the following code to your active theme’s `functions.php` file:

```
add_filter(
    'etn_locale_vars',
    function ( $data ) {
        $data['admin_email'] = 'hidden';
        return $data;
    },
    99
);
```

This will immediately hide the admin email from the public script output.

**Note:**
This issue has already been fixed and will be handled automatically in the next Eventin release. No manual changes will be required.
