et_core_api_spam_options Location

User
et_core_api_spam_options where found these options in divi theme
Assistant
The `et_core_api_spam_options` options in the **Divi** theme are related to spam protection settings for Divi's built-in forms, such as the **Contact Form Module**.

### Where to Find `et_core_api_spam_options` in Divi?
You can find these settings in the **Divi Theme Options**, but their actual storage and retrieval in the database can be checked in the following places:

#### 1. **Database Location**
– These settings are typically stored in the `wp_options` table.
– The option name should be:

et_core_api_spam_options

– You can check for this setting by running the following SQL query in phpMyAdmin or your database manager:

SELECT * FROM wp_options WHERE option_name = 'et_core_api_spam_options';

#### 2. **Divi Theme Options Panel**
– Go to **WordPress Dashboard** → **Divi** → **Theme Options**.
– Look for any settings related to spam protection in the Contact Form module.

#### 3. **Divi Contact Form Module**
– When editing a **Contact Form Module** in the **Divi Builder**, navigate to the **Spam Protection** tab.
– The `et_core_api_spam_options` is likely controlling settings for reCAPTCHA, Akismet, or other spam protection methods.

#### 4. **Divi's Codebase**
If you want to locate this option in the Divi theme’s code, try searching in the following files:

– `wp-content/themes/Divi/includes/builder/framework.php`
– `wp-content/themes/Divi/includes/builder/core.php`
– `wp-content/themes/Divi/includes/builder/module/ContactForm.php`

You can check for the option with a search in your codebase:

grep -r "et_core_api_spam_options" wp-content/themes/Divi/

(If using Windows, use VS Code's "Find in Folder" feature.)

#### 5. **Using WordPress Functions to Retrieve It**
If you want to check the values dynamically, you can add this in a custom plugin or a functions.php file:

$spam_options = get_option('et_core_api_spam_options');
var_dump($spam_options);

This will print the stored spam protection settings.

### Possible Values
This option likely contains JSON or serialized data related to:
– reCAPTCHA keys (if enabled)
– Akismet settings (if integrated)
– Other spam-related configurations for forms

Would you like help modifying these settings programmatically? 🚀

Leave a Comment

Your email address will not be published. Required fields are marked *