LLMS_Shortcodes::login( array $atts )
Add a login form
Parameters Parameters
- $atts
-
(array) (Required) Associative array of shortcode attributes.
Return Return
(string)
Source Source
File: includes/shortcodes/class.llms.shortcodes.php
*/
public static function login( $atts ) {
extract(
shortcode_atts(
array(
'layout' => 'columns',
'redirect' => get_permalink(),
),
$atts,
'lifterlms_login'
)
);
ob_start();
llms_print_notices();
llms_get_login_form( null, $redirect, $layout );
return ob_get_clean();
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.19.4 | Unknown. |
| 3.0.4 | Introduced. |