php – Include User ID in iFrame URL
I seem to have hit a roadblock trying to figure out how to append the user ID to an embedded iFrame url address. I am using a third party app that tracks unique users (and invoices me accordingly). Unfortunately, they were unable to help me figure it out.
So far, after about 12 hours of searching for similar issues, I have ended up with the following solution, which seems to work for several out there, but not in my case.
The embed code is: ” width=”100%” height=”500″ frameBorder=”0″ allowfullscreen>, where the ?u parameter should display the user id.
I was told that the way I would know it works is if the ID would show up in the page source. Unfortunately, currently “” is displayed.
Am I supposed to include something in a template to make this work or should WordPress handle this “out of the box”? I am running WP 5.7 with the latest version of Memberpress.
Thanks in advance for your help!