Add new item to user dropdown menu

Does this work in the horizon theme? I get an error in the browser