Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi Bubblechaz. I’m sorry my reply is not based on your question.

    You asked a question about two years ago. See excerpt of it below.

    “Eventually I will need to grab the current logged in users username and a custom user meta field and put this data into here

    <root>
    <something1>username</something1>
    <something2>123456789</something2>
    <something3>Hello</something3>
    </root>
    and then I will need to format the XML into php when its returned so I can then I can do things with the data.”

    I will please like you to put me through how you were able to activate your php function with button click while passing your data values for use by the script.

    I have a php curl script which works fine when pasted in my theme function.php file. But then, I don’t know how I can call the function with a button click from the front end while also passing the users data for use by the script.
    Thank you.

    • This reply was modified 3 years, 12 months ago by abdulms1.
Viewing 1 replies (of 1 total)