The function replaces every occurrence of character 'o' in an input string with the character 'w'.

[CODE]: 
```python
def f(x):
    return x.replace('o', 'w')
```