• Home
  • Setup
    • Basic Prerequisites
    • ActiveCampaign Setup
    • Membership Site Setup
    • WordPress Setup
  • Shortcodes
    • ActiveCampaign
    • Contacts
    • Content
    • Content Access
    • Date
    • Email
    • Forms
    • HTTP
    • Lists
    • Login / Logout
    • Miscellaneous
    • Password
    • Payments Module
    • Progress
    • Scripting
    • Sessions and Cookies
    • User Agents
    • WooCommerce
    • WordPress
  • Custom Shortcodes
  • Videos
  • FAQs
  • Support
ActiveMember360 – Documentation
  • Home
  • Setup
    • Basic Prerequisites
    • ActiveCampaign Setup
    • Membership Site Setup
    • WordPress Setup
  • Shortcodes
    • ActiveCampaign
    • Contacts
    • Content
    • Content Access
    • Date
    • Email
    • Forms
    • HTTP
    • Lists
    • Login / Logout
    • Miscellaneous
    • Password
    • Payments Module
    • Progress
    • Scripting
    • Sessions and Cookies
    • User Agents
    • WooCommerce
    • WordPress
  • Custom Shortcodes
  • Videos
  • FAQs
  • Support

mbr_logout_link

/API /Shortcodes /Shortcodes / Login / Logout / mbr_logout_link

Usage:

This shortcode generates a link to log out of the membership site, taking your logout redirect settings into account.

This shortcode does NOT support conditional branching with [ELSE_logout_link].
Shortcode nesting is NOT supported.

Parameters:

redirect An alternate redirection target may be given. If none is given, the applicable target for the membership level will be used.
Default: Membership setting.
Required: no.
text An alternate text for the generated link.
Default: Logout.
Required: no.
class CSS class used to display text.
Default: mbr_logout_link.
Required: no.

Example:

[mbr_logout_link]
[mbr_logout_link text='Get me outa here']

API:

To use this shortcode in your own PHP code, please use as follows:

echo mbr_logout_link( array( 'redirect'=>'http://example.com', 'text'=>'Click here to logout' ) );
</code>

Related Articles

  • mbr_is_conditional

  • mbr_author

  • mbr_ac_account

  • mbr_automation

  • mbr_avatar

  • mbr_casetag

Documentation

  • Basic Installation Prerequisites
  • ActiveCampaign Setup
  • WordPress Setup
  • Main Settings
  • Membership Site Setup
  • Dynamic Content, Personalization, Segmentation
    • Conditionals
      • Adding Conditionals
      • Using Conditionals
        • With Beaver Builder Modules/Columns/Rows
        • With Beaver Themer Conditional Logic For Modules/Columns/Rows
        • With Beaver Themer Layouts
        • With Elementor Widgets/Sections
        • With Elementor Popups
        • With Gutenberg Blocks
        • With Oxygen Builder Blocks
        • With WordPress Menu Items
        • With WordPress Widgets
        • With A Shortcode
      • Managing Conditionals
    • Menu Item Visibility
    • Widget Visibility
  • Shortcodes
    • ActiveCampaign
    • Contacts
    • Content
    • Content Access
    • Date
    • Email
    • Forms
    • HTTP
    • Lists
    • Login / Logout
    • Miscellaneous
    • Password
    • Payments Module
    • Progress
    • Scripting
    • Sessions and Cookies
    • User Agents
    • WooCommerce
    • WordPress
  • Custom Shortcodes
  • Extensions
    • Beaver Builder & Themer
    • Elementor
    • GamiPress
    • Gutenberg
    • Oxygen Builder
    • Popup Maker
    • Site and Event Tracking
    • Payments
    • Mailer
    • Tickets
  • Modules
  • API
    • Hooks and Filters
  • Videos
  • Home
  • Shortcodes
  • Videos
  • Support
  • FAQs
  • Releases
© Copyright, ActiveMember360.com by responseFLOW, Inc.