Magic Login Mail or QR Code
Enter your email address, and send you an email with a magic link or QR Code to login without a password.
Login
- Login with email address only.
- Only registered users can login.
- Password-less login from the magic link or QR code notified in the email.
- shortcode :
[magic_login] - action hook :
do_action( 'magic_email_send', $emails | array, true | bool ): To send the magic link simultaneously from the management account. - QR code login on the userβs administration screen.
Thanks
- This plugin is a modified version of Passwordless Login.
- The main changes are the addition of various filter hooks and the addition of the following action hooks.
Action hook
- This is for sending bulk e-mails with a magic link for login to multiple accounts from the management screen.
- When using this action hook, the URL of the page where the shortcode [magic_login] is placed should be specified in the filter hook βmagic_login_mail_urlβ.
/** ==================================================
* To send the magic link simultaneously from the management account.
*
* @param array $emails Multiple email addresses.
* @param bool true Output notifications to the management screen immediately after sending.
*/
do_action( 'magic_email_send', $emails, true );
Filter hooks
/** ==================================================
* Filter for magic link url with mail.
*
*/
add_filter( 'magic_login_mail_url', function(){ return 'url'; }, 10, 1 );
/** ==================================================
* Currently logged in user link for Magic Login Mail
*
* @param string $url URL.
* @param int $user_id User ID.
* @return $url
*/
add_filter( 'magic_login_mail_user_redirect', 'redirect_url_login_users', 10, 2 );
/** ==================================================
* Login user after redirect for Magic Login Mail
*
* @param string $url URL.
* @param int $user_id User ID.
* @return $url
*/
add_filter( 'magic_login_mail_after_login_redirect', 'redirect_url_login_users', 10, 2 );
function redirect_url_login_users( $url, $user_id ){
/* your code */
return $url;
}
/** ==================================================
* Filter for message with shortcode form.
*
*/
add_filter( 'magic_login_mail_success_link_msg', function(){ return 'Message for success.'; }, 10, 1 );
add_filter( 'magic_login_mail_success_login_msg', function(){ return 'Message for success with login.'; }, 10, 1 );
add_filter( 'magic_login_mail_valid_errors', function(){ return 'Message for mail validation error.'; }, 10, 1 );
add_filter( 'magic_login_mail_email_errors', function(){ return 'Message for sent mail error.'; }, 10, 1 );
add_filter( 'magic_login_mail_invalid_token_error', function(){ return 'Message for token error.'; }, 10, 1 );
add_filter( 'magic_login_mail_form_label', function(){ return 'Message for form label.'; }, 10, 1 );
/** ==================================================
* Filter for color with shortcode form.
*
*/
add_filter( 'magic_login_mail_success_link_msg_back_color', function(){ return '#e7f7d3'; }, 10, 1 );
add_filter( 'magic_login_mail_success_login_msg_back_color', function(){ return '#e7f7d3'; }, 10, 1 );
add_filter( 'magic_login_mail_valid_errors_back_color', function(){ return '#ffebe8'; }, 10, 1 );
add_filter( 'magic_login_mail_email_errors_back_color', function(){ return '#ffebe8'; }, 10, 1 );
add_filter( 'magic_login_mail_invalid_token_error_back_color', function(){ return '#ffebe8'; }, 10, 1 );
/** ==================================================
* Filter for input text size.
*
*/
add_filter( 'magic_login_mail_input_size', function(){ return 17; }, 10, 1 );
/** ==================================================
* Filter for class name.
*
*/
add_filter( 'magic_login_mail_notice_class_name', function(){ return 'mynotice'; }, 10, 1 );
add_filter( 'magic_login_mail_form_class_name', function(){ return 'myform'; }, 10, 1 );
add_filter( 'magic_login_mail_label_class_name', function(){ return 'mylabel'; }, 10, 1 );
add_filter( 'magic_login_mail_input_class_name', function(){ return 'myinput'; }, 10, 1 );
add_filter( 'magic_login_mail_submit_class_name', function(){ return 'mysubmit'; }, 10, 1 );
/** ==================================================
* Filter for message with mail subject.
*
*/
add_filter( 'magic_login_mail_subject', function(){ return 'subject'; }, 10, 1 );
/** ==================================================
* Filter for message with mail.
*
* @param string $message message.
* @param string $url url.
* @param string $exp_date_time expiration date and time.
*/
add_filter(
'magic_login_mail_message',
function( $message, $url, $exp_date_time ) {
$message .= '
' . 'You may only log in once using the link above.';
return $message;
},
10,
3
);
/** ==================================================
* Filter for login expiration.
*
*/
add_filter( 'magic_login_mail_expiration', function(){ return 10; }, 10, 1 );
| Domain | Exposures | Headers | Last Checked |
|---|---|---|---|
| f*n*y*n*s*x*e*o*k*.com | F | 2026-05-03 17:05:20 | |
| n*x*c*o*d*o*e.com | F | 2026-04-30 03:10:43 | |
| e*e*g*t*s*h.fit | F | 2026-04-28 08:24:11 | |
| t*e*s*.org (WP 6.9.4) | F | 2026-04-28 04:32:57 | |
| t*a*s*o*m*y*a*l*.com (WP 6.9.4) | F | 2026-04-16 00:25:53 | |
| s*u*m*t*s*t*l*.com (WP 6.9.4) | F | 2026-04-14 18:04:29 | |
| m*c*i*a*a.jp | C | 2026-04-11 20:15:20 | |
| t*m*e*n*s*.com | D | 2026-04-10 21:59:44 | |
| t*l*i*t*t*e*o*m*n*t*.com (WP 6.9.4) | F | 2026-04-08 10:17:35 | |
| t*l*i*t*t*e*h*r*h.com (WP 6.9.4) | F | 2026-04-08 10:17:35 | |
| g*d*o*e*a*t.com (WP 6.8.5) | F | 2026-04-08 10:15:27 | |
| c*n*t*c*.com | F | 2026-04-07 01:14:05 | |
| a*r*n*w*c*m*u*.com (WP 6.9.4) | D | 2026-04-03 00:45:47 | |
| a*b*a*.com | F | 2026-03-31 05:10:45 | |
| 4*b*z.com (WP 6.9.4) | β | 2026-03-30 10:39:28 | |
| w*n*s*t*d*v*l*p*e*t.com | β | 2025-11-11 13:30:50 | |
| w*n*s*t*d*v.com | β | 2025-11-11 13:30:50 | |
| w*d*o*m*.com | β | 2025-11-11 13:21:32 | |
| w*b*e*s*.com | β | 2025-11-11 10:46:40 | |
| m*-*u*o*-*i.com | β | 2025-11-09 08:37:54 |
Page 1 of 1