LLMS_Shortcode_My_Account
LLMS_Shortcode_My_Account class.
Contents
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
Methods Methods
- get — Get shortcode content
- lost_password — Lost password template — deprecated
- output — Determines what content to output to user based on status
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. |