# edd_get_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\_get\_option() to get those options. edd\_get\_option() safely finds the desired option and returns it. Additionally, it applies a filter to the output.

### Input

 edd\_get\_option() takes two input variables. The first is the key name of the option desired. The second is a default value if the key is not found in the option array. The second value defaults to false.

### Usage

 Here&#039;s an example, looking for the position of the currency indicator. If it&#039;s not found, $position will get a value of &#039;before&#039;.

```
$position = edd_get_option( &#039;currency_position&#039;, &#039;before&#039; );
```

### Output

 The output of this function will be whatever was stored in the option, OR the default. The return function applies a filter that looks like this:

```
return apply_filters( &#039;edd_get_option_&#039; . $key, $value, $key, $default );
```

 Using the example from the Usage section then the filter would be named `edd_get_option_currency_position`.