Nonce problem with wp_logout_url
-
I’m trying to capture the wp-generated logout link with the correct nonce. If I attach my function to the “wp_login” hook, I get the wrong nonce. If I attach it to “init” hook, it works perfectly. Ideally, I’d like my action to fire upon successful login, and not require that the user visits another WP page (they could be logging in from, and returning to, another subdomain outside of WP).
Thanks for your help.
-David
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Nonce problem with wp_logout_url’ is closed to new replies.