I have a module tag with a param that accepts a string.
{exp:test:foo return_url="{current_url}"}
...
{/exp:test:foo}
In the module method, I get the return_url param using
$return_url = $this->EE->TMPL->fetch_param('return_url');
The problem is that I get the literal string
{current_url}
As opposed to it being parsed and getting the current url.
Is there a way to solve this? or is this a parse order issue?