Magic Login Mail

Magic Login Mail

Wordpress plugin

Install on Wordpress

App Details

Enter your email address, and send you an email with a magic link to login without a password.

Login

  • Login with email address only.
  • Only registered users can login.
  • Password-less login from the magic link 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.

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_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. * */ add_filter( 'magic_login_mail_subject', function(){ return 'subject'; }, 10, 1 ); add_filter( 'magic_login_mail_message', function(){ return 'Message with magic link.'; }, 10, 1 ); 
/** ================================================== * Filter for login expiration. * */ add_filter( 'magic_login_mail_expiration', function(){ return 10; }, 10, 1 ); 

Pricing

Starting from $0 per month.

Check Out the TikTok Carousel Widget

By Common Ninja

TikTok CarouselTry For Free!

App Info

Rating

Reviewers

2 reviews

Tags

email
login
passwordless
users

Developed By

Katsushi Kawamori

Quick & Easy

Find the Best Wordpress plugins for you

Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!

Testimonial

Testimonial plugins for Wordpress

Contact Form

Contact Form plugins for Wordpress

Maps

Maps plugins for Wordpress

Translation

Translation plugins for Wordpress

Chat

Chat plugins for Wordpress

Slider

Slider plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Contact

Contact plugins for Wordpress

Galleries

Galleries plugins for Wordpress

SEO

SEO plugins for Wordpress

Forms

Forms plugins for Wordpress

Comments

Comments plugins for Wordpress

Backup

Backup plugins for Wordpress

Privacy

Privacy plugins for Wordpress

Optimize

Optimize plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Comments

Comments plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Video Player

Video Player plugins for Wordpress

popup

popup plugins for Wordpress

SiteMap

SiteMap plugins for Wordpress

Payment

Payment plugins for Wordpress

Coming Soon

Coming Soon plugins for Wordpress

Inventory

Inventory plugins for Wordpress

Testimonials

Testimonials plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Membership

Membership plugins for Wordpress

Forms

Forms plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Sliders

Sliders plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Security

Security plugins for Wordpress

Ads

Ads plugins for Wordpress

Music Player

Music Player plugins for Wordpress

Countdown

Countdown plugins for Wordpress

Email Marketing

Email Marketing plugins for Wordpress

Membership

Membership plugins for Wordpress

Ecommerce

Ecommerce plugins for Wordpress

Customer Support

Customer Support plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Common Ninja Apps

Some of the best Common Ninja plugins for Wordpress

Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.

TikTok Carousel for Wordpress logo

TikTok Carousel

Show TikTok videos with a TikTok carousel that arranges clips in a smooth, customizable layout to boost engagement and keep visitors watching.

Bracket Maker for Wordpress logo

Bracket Maker

Bracket generator for creating interactive tournaments that organize matchups, track progress, and deliver a clear and engaging competition experience.

Leaderboard for Wordpress logo

Leaderboard

Add a customizable leaderboard to your site to display rankings, track scores, and encourage friendly competition.

Countdown Bar for Wordpress logo

Countdown Bar

Add a countdown bar to your site to create urgency, highlight limited time offers, and drive faster engagement and higher conversions.

Corner Pop-up Builder for Wordpress logo

Corner Pop-up Builder

Add floating corner pop-ups to share updates, promotions, or messages in a non-intrusive, customizable format.

Scroll Progress for Wordpress logo

Scroll Progress

Use a scroll progress bar that visually tracks reading on the page, improves navigation, and keeps visitors aware of their position.

PDF Flipbook for Wordpress logo

PDF Flipbook

Transform PDFs into interactive flipbooks with a PDF flipbook widget that improves reading and keeps visitors engaged.

Job Listings for Wordpress logo

Job Listings

Create job listings with a jobs board widget that lets you post openings, manage roles easily, and help candidates find the right positions quickly.

Social Proof Avatars for Wordpress logo

Social Proof Avatars

Display social proof avatars that show user activity and ratings, build trust instantly, and help visitors feel confident about your credibility.

Blogger Feed for Wordpress logo

Blogger Feed

Show Blogger posts automatically with a Blogger feed that keeps your content fresh, improves navigation, and helps visitors discover more of your work.

Capterra Reviews for Wordpress logo

Capterra Reviews

Show Capterra reviews to build trust, strengthen credibility, and help visitors make confident software buying decisions that support higher sales.

Facebook Reviews for Wordpress logo

Facebook Reviews

Show Facebook reviews to build trust, improve credibility, and help visitors make confident purchase decisions that support higher sales.

More plugins

plugins You Might Like

Discover Apps By Platform

Discover the best apps for your website

WordPress
Wix
Shopify
Weebly
Webflow
Joomla
PrestaShop
Shift4Shop
WebsiteX5
MODX
Opencart
NopCommerce

Common Ninja Search Engine

The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!

Multiple platforms