Function shortcode_login_form
Creates the front-end markup for displaying a AJAX login form. Looks
something like: [bpq_login_form show_remember="1"]
Namespace: bpq
Located at bpq.login/bpq.login.php
Parameters summary
array |
$atts |
Can be any of the following attributes: boolean $show_remember Set to 'true' to
display the 'remember me' checkbox string $callback_error JS function to be
triggered after a failed login attempt string $callback_success JS function to
be triggered after a successful login string $message_class Any additional
classes to add to the message container string $overlay_content Displayed when
the form is locked during processing; must be encoded string $password_class Any
additional classes to add to the password input string $password_placeholder
Placeholder text for the password input string $password_wrap_mask Default is
%s, which is the password input element; must be encoded string $submit_class
Any additional classes to add to the submit button string $username_class Any
additional classes to add to the password input string $username_placeholder
Placeholder text for the username input string $username_wrap_mask Default is
%s, which is the password input element; must be encoded
|
Return value summary
string
|
The expanded markup Note: Shortcodes do not work well with HTML markup.
Therefore, any string values that can accept HTML tags must be encoded with
urlencode so that the shortcode parser can handle it.
|