[Plugin: User Switching] Wp_nonce_url – User Switching plugin Link
-
Hi, I am using the user switching plugin and I am trying to post links on the front end (on a page) that will allow me to switch from one user to the other instead of on the backend. But everytime I try to post the links I either get the error wordpress page or the cookie expires that wp_nonce generates.
How can I generate a wp_nonce link on the front end like a
<a href="https://mywebsite.com/wp-login.php?action=switch_to_user&user_id=24&_wpnonce=dbde36f975">
Right now the “wpnonce=dbde36f975” expires.
I am no developer pro, but I can do some things. Also I have set the user switching to go to a particular page on my website instead of the backend page.
- The topic ‘[Plugin: User Switching] Wp_nonce_url – User Switching plugin Link’ is closed to new replies.