# Customizing the Freemius WordPress SDK Integration with Constants

The Freemius WordPress SDK provides a collection of constants that allow developers to customize and extend the functionality of their WordPress plugins or themes.

## Defining Constants[​](#defining-constants "Direct link to Defining Constants")

To use these constants, simply define them in your WordPress website's `wp-config.php` file before the line:

```
/* That's all, stop editing! Happy publishing. */
```

This allows you to modify the behavior of the SDK without altering its core files. You can refer to the [official handbook](https://developer.wordpress.org/advanced-administration/wordpress/wp-config/) to learn more.

## Available Constants[​](#available-constants "Direct link to Available Constants")

`WP_FS__API_TIMEOUT`[](#WP_FS__API_TIMEOUT "Direct link to WP_FS__API_TIMEOUT")

number

Default: `30`

Sets the timeout for API requests made by the Freemius WordPress SDK.

You can modify it by defining as:

```
// Set API timeout to 60 seconds

define( 'WP_FS__API_TIMEOUT', 60 );
```

`WP_FS__DEV_MODE`[](#WP_FS__DEV_MODE "Direct link to WP_FS__DEV_MODE")

boolean

Default: `false`

Enables the development mode for the Freemius WordPress SDK.

When set to `true`, it allows developers to [test and debug their integration](https://freemius.com/help/help/documentation/wordpress-sdk/debugging/.md#access-the-freemius-debug-page) without affecting live data or transactions.

```
define( 'WP_FS__DEV_MODE', true );
```

`WP_FS__SKIP_EMAIL_ACTIVATION`[](#WP_FS__SKIP_EMAIL_ACTIVATION "Direct link to WP_FS__SKIP_EMAIL_ACTIVATION")

boolean

Default: `false`

Skips email activation when a user with the same email already opted-in. This requires the SDK to be loaded in development mode and the secret key of the product to be defined. [See the usage](https://freemius.com/help/help/documentation/wordpress-sdk/testing/.md#skipping-email-activation) for more details.

```
define( 'WP_FS__SKIP_EMAIL_ACTIVATION', true );
```
