Add support for plugins to be able to leverage get_return_url