theme_my_login

Displays the output of the plugin.

Description

Displays the output of the plugin.

Usage

<?php theme_my_login( $args ); ?>

Parameters

instance
(string) A unqiue instance ID for this instance.
default_action
(string) The action to display. Defaults to “login”.
login_template
(string) The template used for the login form. Defaults to “login-form.php”.
register_template
(string) The template used for the register form. Defaults to “register-form.php”.
lostpassword_template
(string) The template used for the lost password form. Defaults to “lostpassword-form.php”.
resetpass_template
(string) The template used for the reset password form. Defaults to “resetpass-form.php”.
user_template
(string) The templated used for when a user is logged in. Defalts to “user-panel.php”.
show_title
(boolean) True to display the current title, false to hide. Defaults to true.
show_log_link
(boolean) True to display the login link, false to hide. Defaults to true.
show_reg_link
(boolean) True to display the register link, false to hide. Defaults to true.
show_pass_link
(boolean) True to display the lost password link, false to hide. Defaults to true.
register_widget
(boolean) True to allow registration in widget, false to send to register page. Defaults to false.
lostpassword_widget
(boolean) True to allow password recovery in widget, false to send to lost password page. Defaults to false.
logged_in_widget
(boolean) True to display the widget when logged in, false to hide. Defaults to true.
show_gravatar
(boolean) True to display the user’s gravatar, false to hide. Defaults to true.
gravatar_size
(integer) The size of the user’s gravatar. Defaults to “50”.
before_widget
(string) Content to display before widget. Defaults to “<li>”.
after_widget
(string) Content to display after widget. Defaults to “</li>”.
before_title
(string) Content to display before the title (if displayed). Defaults to “<h2>”.
after_title
(string) Content to display after the title (if displayed). Defaults to “</h2>”.

Filter Reference

tml_init_options
Applied to TML’s default options array when the plugin if first loaded.
tml_is_login_page
Applied to the result of Theme_My_Login::is_login_page.
tml_page_link
Applied to the result of Theme_My_Login::get_login_page_link.
tml_active_modules
Applied to the list of active modules before it is used.
tml_display
Applied to the result of Theme_My_Login_Template::display.
tml_title
Applied to the result of Theme_My_Login_Template::get_title.
tml_action_url
Applied to the result of Theme_My_Login_Template::get_action_url.
tml_action_links
Applied to the result of Theme_My_Login_Template::get_action_links.
tml_user_links
Applied to the result of Theme_My_Login_Template::get_user_links.
tml_action_template_message
Applied to the result of Theme_My_Login_Template::get_action_template_message.
tml_template_args
Applied to the array of arguments to be passed into included templates in Theme_My_Login_Template::get_template.
tml_template
Applied to the result of Theme_My_Login_Template::get_template.
tml_redirect_url
Applied to the result of Theme_My_Login_Template::get_redirect_url.

Action Reference

tml_modules_loaded
Runs after all modules are loaded.
tml_request
Runs when the TML request is processed.
tml_request_(action)
Runs when the TML request is processed with a specific (action).
tml_display_(action)
Runs when TML is displayed with a specific (action).
tml_user_password_changed
Runs when a user successfully changes their password.
tml_new_user_registered
Runs when a new user successfully registers.