Support » Plugin: Woo Shortcodes Kit » Logout targeting for a link with “wpnonce”.

Viewing 1 replies (of 1 total)
  • Plugin Author disespubli

    (@disespubli)

    Hi Hailton!

    The first of all thanks for use WSHK 🙂 !!

    The logout button, is working with the function: wp_logout_url() and is configured to get the “myaccount page ID” to do the button “href” and when is clicked it close the session. (if you see the link have a custom wpnonce)

    But you can modify it if you want looking for the “SHOW LOGOUT BUTTON” function in the “wshk-class” file that you find in the plugin’s folder.

    The button was displayed with a print ”; so just need change the href= with your custom url.

    I hope it can help you, if not i will follow here to help you to get your target.

    Regards!

    • This reply was modified 1 year, 3 months ago by  disespubli.
Viewing 1 replies (of 1 total)
  • The topic ‘Logout targeting for a link with “wpnonce”.’ is closed to new replies.