• LifterLMS
  • Knowledge Base
  • Academy
  • Blog
  • Podcast
  • Contributors
  • My Account

LifterLMS LifterLMS

  • Code Reference
  • REST API
  • LLMS-CLI
  • Changelog Subscribe

Code Reference

Skip to content
Filter by type:
Search
Browse: Home / Code Reference / Classes / LLMS_Shortcode_My_Account

LLMS_Shortcode_My_Account

LLMS_Shortcode_My_Account class.

Contents

  • Source
  • Methods
  • Changelog
  • User Contributed Notes

Source #Source

File: includes/shortcodes/class.llms.shortcode.my.account.php

class LLMS_Shortcode_My_Account {

	/**
	 * Get shortcode content
	 *
	 * @since Unknown
	 *
	 * @param array $atts Shortcode attributes array.
	 * @return array $messages
	 */
	public static function get( $atts ) {
		return LLMS_Shortcodes::shortcode_wrapper( array( __CLASS__, 'output' ), $atts );
	}

	/**
	 * Determines what content to output to user based on status
	 *
	 * @since 1.0.0
	 * @since 3.25.1
	 *
	 * @param array $atts Array of user submitted shortcode attributes.
	 * @return void
	 */
	public static function output( $atts ) {

		$atts = shortcode_atts(
			array(
				'login_redirect' => null,
			),
			$atts,
			'lifterlms_my_account'
		);

		lifterlms_student_dashboard( $atts );

	}

}

Expand full source code Collapse full source code View on GitHub


Top ↑

Methods #Methods

  • get — Get shortcode content
  • lost_password — Lost password template — deprecated
  • output — Determines what content to output to user based on status

Top ↑

Changelog #Changelog

Changelog
Version Description
4.0.0 Removed previously deprecated method LLMS_Shortcode_My_Account::lost_password().
3.25.1 Deprecated method LLMS_Shortcode_My_Account::lost_password().
1.0.0 Introduced.

Top ↑

User Contributed Notes #User Contributed Notes

You must log in before being able to contribute a note or feedback.

© 2014 - 2025 LifterLMS · Privacy Policy · Terms and Conditions

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.