1. Home
  2. Docs
  3. WCAP – WHMCS Client Area API
  4. Shortcodes
  5. Wcap Button

Wcap Button

[wcap_button]

 
The button you can use in the WordPress Menu if you want an external link to log out the Client area.

If the client is Logged-in in the client area and click on this button then the client will be redirected to the Logout redirect URL if that is set in WCAP > Setting > Logout Redirect URL, otherwise, on logging out client will be redirected to the Client area URL that is set in WCAP > Settings > Client Area URL.

If the client is Logged-out from the client area then clicking on this button, he will redirect to the Client Area URL that you have set in WCAP > Settings > Client Area URL.

Was this article helpful to you? Yes No