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

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -