Follow for free plugins, new theme releases and theme news
Plugin Description
Register users with mail only
- Register only email address.
- Can check the terms of use agreement.
- WordPress :
wp-login.php?action=register
- shortcode :
[umorregister]
Filter for shortcode form
/** ==================================================
* Filter for message.
*
*/
add_filter( 'umor_register_success_msg', function(){ return 'Message for register success.'; }, 10, 1 );
add_filter( 'umor_login_success_login_msg', function(){ return 'Message for login success.'; }, 10, 1 );
add_filter( 'umor_register_error', function(){ return 'Message for register error.'; }, 10, 1 );
add_filter( 'umor_register_nomail', function(){ return 'Message for unentered mail.'; }, 10, 1 );
add_filter( 'umor_register_noterm', function(){ return 'Message for unentered term of use.'; }, 10, 1 );
add_filter( 'umor_register_form_label', function(){ return 'Message for form label.'; }, 10, 1 );
add_filter( 'umor_register_term_of_use', function(){ return 'Message for term of use.'; }, 10, 1 );
add_filter( 'umor_not_register_message', function(){ return 'Message for not register.'; }, 10, 1 );
/** ==================================================
* Filter for Term of use URL.
*
*/
add_filter(
'umor_register_term_of_use_url',
function( $term_of_use_url ) {
if ( 'ja' === get_locale() ) {
$term_of_use_url = 'https://test.com/ja/';
}
return $term_of_use_url;
},
10,
1
);
/** ==================================================
* Filter for input text size.
*
*/
add_filter( 'umor_register_input_size', function(){ return 17; }, 10, 1 );
/** ==================================================
* Filter for class name.
*
*/
add_filter( 'umor_register_form_class_name', function(){ return 'myform'; }, 10, 1 );
add_filter( 'umor_register_label_class_name', function(){ return 'mylabel'; }, 10, 1 );
add_filter( 'umor_register_input_class_name', function(){ return 'myinput'; }, 10, 1 );
add_filter( 'umor_register_check_form_class_name', function(){ return 'mycheckform'; }, 10, 1 );
add_filter( 'umor_register_check_class_name', function(){ return 'mycheck'; }, 10, 1 );
add_filter( 'umor_register_submit_class_name', function(){ return 'mysubmit'; }, 10, 1 );
Screenshots
-
Register form by WordPress
-
Register form by shortcode
-
Settings