binary-lockLogin / Logout Links

The Login / Logout Links Shortcode displays login and logout links based on the user’s current session status. This is especially helpful for adding dynamic account access links to headers, footers, or custom menus.

The [dtlms_login_logout_links] shortcode is used to display Login, Logout, and optionally, a Register link, depending on the user's status and configuration.

General Parameters

Parameter

Description

show_registration

true or false – Enable or disable the display of the Register link.

class

Optional – Add a custom CSS class for styling or customization.