All Topics
I need _wpnonce in a link
Hi. I’m including some links in the user list, for example to call up the multisite usersite (frontend), or the WP Ultimo customer view. Everything works wonderfully – partly with ACF. Now, however, I need the _wpnonce for a link. How could I attach it? Would it be possible to use a (own generated) shortcode?
Actually I am using: Custom field: user_id
Before:
<a class=”action” href=”https://mynetwork.com/wp-login.php?action=switch_to_user&user_id=
After:
&nr=1&_wpnonce=????????” target=”_blank”>Login
Thankls and regards,
Steffen
You must be logged in to reply to this topic.