# edd_update_option

 Options specific to Easy Digital Downloads are stored in an array in a single WordPress option. For this reason it&#039;s best to use edd\_update\_option() to change those options. edd\_update\_option() safely filters and updates an existing option.

### Input

 edd\_update\_option() takes two input variables. The first is the key name of the option desired. The second is the value that should be stored in the option. The second value defaults to false. Example:

```
edd_update_option( $key = &#039;&#039;, $value = false )
```

### Usage

 Here&#039;s an example, updating the position of the currency indicator. By default it&#039;s set to &#039;before&#039;, this example will set it to &#039;after&#039;.

```
edd_update_option( &#039;currency_position&#039;, &#039;after&#039; );
```

### Output

 This function returns true if the option is updated, otherwise false.