Sorry, when i said everything is working fine i meant i am able to make API call when i use hardcoded email address but i don’t know how to get the email of the current user so i can pass it through the variable in API statement:
” Because of Ajax call, i am not able to figure out how to get email of that user using standard wordpress function for user data. Does Learnpress already have some function to get user email inside js file?
-
This reply was modified 6 years, 9 months ago by adislic.
-
This reply was modified 6 years, 9 months ago by adislic.
-
This reply was modified 6 years, 9 months ago by adislic.