How can I get logged in user’s session data from admin-ajax?

I have hooked an ajax call for a logged-in user, and now I need to catch his data inside the receiving call (the code that receives the action call). How can I get the user’s ID reliably?

Read more here: How can I get logged in user’s session data from admin-ajax?

Leave a Reply

Your email address will not be published. Required fields are marked *