User Mail Only Register

描述

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 input text size.
 *
 */
add_filter( 'umor_register_input_size', function(){ return 17; }, 10, 1 );
/** ==================================================
 * Filter for class name.
 *
 */
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_class_name', function(){ return 'mycheck'; }, 10, 1 );
add_filter( 'umor_register_submit_class_name', function(){ return 'mysubmit'; }, 10, 1 );

螢幕截圖

  • Register form by WordPress
  • Register form by shortcode
  • Settings

安裝

  1. Upload user-mail-only-register directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題

none

評價

There are no reviews for this plugin.

貢獻者及開發者

“User Mail Only Register” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

User Mail Only Register 外掛目前已有 1 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 User Mail Only Register 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

2.04

Changed input size.

2.03

Fixed escape for form.

2.02

Added validation to the email address input field of the shortcode form.

2.01

Added some filters.
Change readme.txt.

2.00

Added a original login form with shortcode.
The block has been removed.

1.12

Fixed a problem with the password reset link.

1.11

Fixed a problem with the password reset link.

1.10

Supported WordPress 5.6.

1.09

Added function by hide the link to “Log in” and “Lost your password”.
Changed management screen.

1.08

Fixed shortcode.

1.07

Fixed sample code.

1.06

The block now supports ESNext.

1.05

Conformed to the WordPress coding standard.

1.04

Add WordPress user settings.

1.03

Described the hook description on the management screen.

1.02

Fixed error on activation.
Added a filter “umor_not_register_message” for messages when user registration is not allowed.

1.01

Can add text at email notification.
Can stop mail notification of this plugin.

1.00

Initial release.