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
Post a Comment