javascript - How to get user id after completing registration and redirecting using registration_redirect hook in WordPress? -


i want user id after completion of registration , i'm redirecting user page using registration_redirect hook in wordpress.

before used sessions grab user id in redirected page 1 of hosting (wpengine) doesn't support sessions , wanted me use ajax or js cookies instead of php session.

i wanted know there anyway other ajax , js cookies? if so, kindly let me know.

thanks in advance


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -