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 );
Top keywords
- login45×6.91%
- filter34×5.22%
- mail31×4.76%
- login mail26×3.99%
- 'magic25×3.84%
- 1024×3.69%
- return24×3.69%
- 'magic login23×3.53%
- 'magic login mail23×3.53%
- add23×3.53%
- add filter23×3.53%
- add filter 'magic23×3.53%
MailerPress – Newsletter, email marketing & AI automation
MailerPress is a free email marketing and newsletter plugin for WordPress. Build professional email campaigns with a drag-and-drop editor, manage unlimited subscribers and lists, schedule newsletters, and send automated emails — all from your WordPress dashboard. Whether you’re a blogger sending a weekly newsletter, an online store owner looking to customize WooCommerce emails (paid plan required), or a marketer running large-scale email campaigns, MailerPress gives you everything you need — with no subscriber limits and no sending restrictions. Drag-and-Drop Email Editor Create beautiful email newsletters without writing a single line of code. The MailerPress email editor is inspired by the WordPress Block Editor (Gutenberg), so it feels instantly familiar: Drag-and-drop blocks to build your email layout Pre-built email templates to get started in seconds Save and reuse your own custom layouts Full theme.json support for consistent branding with Full Site Editing Google Fonts integration with local hosting for fast loading MJML template import for advanced email designs Responsive emails that look great on every device Subscriber Management & List Building Grow your email list with powerful subscriber management tools, completely free: Unlimited subscribers, lists, and tags — no restrictions Customizable opt-in forms with shortcode — works with any page builder (Elementor, Bricks, Divi, and more) Gutenberg opt-in form block for the Block Editor Embeddable opt-in forms for external websites Double opt-in with customizable confirmation emails CSV import and export for easy subscriber migration Advanced subscriber segmentation GDPR-compliant subscription management with built-in unsubscribe Email Campaigns & Newsletter Scheduling Send newsletters and email campaigns on your schedule: Create and send email campaigns to your subscriber lists Schedule newsletters for future delivery Merge tags for personalized email content (subscriber name, custom fields, and more) Content retrieval from posts and pages Flexible click and open tracking (track, anonymize, or disable) Detailed campaign analytics and performance reports Email Automation Automate your email marketing to save time and boost engagement: Automated post notification emails when you publish new content Scheduled email campaigns with precise timing Automated double opt-in confirmation follow-ups (paid plan required) Advanced automation workflows with triggers and conditions (paid plan required) WooCommerce Email Marketing (paid plan required) Turn your WooCommerce store into an email marketing machine: Design custom WooCommerce transactional emails with the drag-and-drop editor Override default WooCommerce order confirmation, shipping, and account emails Send promotional email campaigns to your customers Retrieve WooCommerce product content directly in your newsletters Segment subscribers based on purchase behavior Incoming & Outgoing Webhooks Connect MailerPress to any external system: Incoming webhooks to add subscribers from external platforms Outgoing webhooks to send real-time events to third-party services Build custom integrations with your existing tools Email Sending Options Send emails using your preferred method: PHP Mail (default — works out of the box) Custom SMTP configuration SendGrid integration (paid plan required) Brevo / Sendinblue integration (paid plan required) Mailjet integration (paid plan required) Amazon SES integration (paid plan required) Mailgun integration (paid plan required) Postmark integration (paid plan required) Bounce management via email provider APIs (paid plan required) All Free Features Drag-and-drop email editor inspired by WordPress Block Editor Unlimited subscribers, lists, tags, and campaigns Email newsletter creation and scheduling Customizable opt-in forms (shortcode + Gutenberg block) Double opt-in with confirmation emails CSV import/export for subscriber migration Subscriber segmentation Email campaign analytics Post and page content retrieval for newsletters Incoming and outgoing webhooks Click and open tracking (with anonymous option) Merge tags for email personalization MJML template import Google Fonts with local hosting GDPR-compliant with built-in unsubscribe Self-hosted — your data stays on your server Full theme.json and FSE support Hundreds of developer hooks and filters REST API for custom integrations Paid Plan Features Upgrade to MailerPress for advanced email marketing capabilities: WooCommerce email customization — design and override transactional emails (order confirmation, shipping, account emails) with the drag-and-drop editor Professional email delivery — SendGrid, Brevo, Mailjet, Amazon SES, Mailgun, Postmark AI-powered email content — OpenAI, DeepSeek, Mistral, Google Gemini integration for content optimization and image generation Advanced form integrations — Contact Form 7, Gravity Forms, Fluent Forms Page builder integrations — Elementor, Bricks Advanced automation workflows — triggers, conditions, and behavioral targeting Custom fields and advanced segments — target subscribers based on behavior and data Premium email templates — professional designs ready to use Embed opt-in forms on external websites — grow your list beyond WordPress Bounce management — automatic handling via email provider APIs Automated double opt-in follow-ups — re-engage pending subscribers White-label options — customize MailerPress branding Priority support — dedicated customer assistance Developer-Friendly MailerPress is built for developers who need full control: Hundreds of hooks and filters — customize every aspect of the plugin REST API — build custom integrations and applications MJML support — use MJML templates for advanced email design workflows React-based architecture — modern, extensible, and performant Privacy & GDPR MailerPress is fully GDPR-compliant and privacy-first. No data is collected by us — everything stays on your server. Built-in unsubscribe links, double opt-in, and data export tools help you stay compliant. When using third-party email providers, please review their respective privacy policies. Translations MailerPress is available in English, French, Spanish, Dutch, and Arabic. Help translate MailerPress into your language. From the same team Try SEOPress, the best SEO plugin for WordPress