I am creating a wordpress site with an embedded booking form.
Example:
I would like to create a dynamic tag which I can input into this shortcode. I want to simply track the URL of the page where the form was submitted on my site.
I tried to create a function using php found here https://www.prodjex.com/2017/07/worpdress-shortcode-current-url/
The result however was the field "Webpage" returned "[geturl]" as text instead of calling the function.
Is it possible to call this function within the shortcode? Or is there a different solution available?