Kevin
Well-known member
OK, this may seem like a silly question to some, but what is the easiest way of getting the current page URL from within PHP code in a media site HTML callback?
I know I can use buildPublicLink to create a new XF formatted link but is there a corresponding 'get current public link' for whatever page the media is being shown on instead of using _server variables to build it?
I know I can use buildPublicLink to create a new XF formatted link but is there a corresponding 'get current public link' for whatever page the media is being shown on instead of using _server variables to build it?