LLMS_Shortcode_My_Account
LLMS_Shortcode_My_Account class.
Contents
Source Source
File: includes/shortcodes/class.llms.shortcode.my.account.php
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | 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. |