I’m writing a plugin which has to access a different api using authentication. So I need the login creditials provided in the shortcode of the plugin.
The ajax call has to authenticate at the webapi itself with the provided login creditials.
How to do this without saving the information in a session cookie or in the ajax file call (url) string? (The ajax call is in the same class)
Do I have to read the shortcode again (how?) or is there another solution?
Your help is highly appreciated
- The topic ‘Access to shortcode values in separate ajax function call’ is closed to new replies.