Skip to content

HandyPlugins

  • Home
  • PluginsExpand
    • Magic Login Pro
    • Handywriter
    • WP Accessibility Toolkit
    • PaddlePress Pro
    • Easy Text-to-Speech
  • Docs
  • About
  • Blog
  • Contact
My Account
HandyPlugins
Popular Search shortcodethehookemailredirect

Magic Login Pro

36
  • Installation & Configuration
  • Use magic login as the default login method?
  • Brute Force Protection
  • WooCommerce Integration
  • Easy Digital Downloads (EDD) Integration
  • Token Lifespan
  • Disable Magic Login for a Specific User
  • Login with Code: Flexible Passcode-Based Authentication
  • SMS Login – Passwordless Authentication with SMS
  • Magic Login REST API
  • QR Code Login
  • CLI Command
  • Add Login form to a Page
  • Reset Tokens
  • Auto Login Links
  • Token Validity
  • Login Redirect
  • Shortcode
  • Login Email Customization
  • Login Request Throttling
  • IP Check
  • Domain Restriction
  • Registration
  • Spam Protection
  • How to Add Magic Login to Any of Outgoing Emails?
  • Customize Default Messages
  • nG Firewall
  • Dynamically Adjust Token TTL
  • How to change Sender Details?
  • Disable Magic Login for specific roles
  • Customizing Login Session Duration
  • Magic Login Twilio Integration
  • Magic Login – FluentCRM Integration
  • Reset Magic Login Links for a User
  • Hooks
  • Tools – Reset, Export & Import Magic Login Settings

PaddlePress Pro

26
  • Installation & Configuration
  • How does PaddlePress PRO work?
  • Automatic account creation
  • How to set up a membership website?
  • Setup a Development Environment
  • Protect Download Files on NGINX
  • Software Licensing
  • Software Licensing API
  • Updater Implementation for WordPress Plugins
  • Updater Implementation for WordPress Themes
  • Release a New WordPress Product
  • Customer Dashboard (My Account) Page
  • Checkout Buttons
  • Custom Redirect After Successful Checkout
  • How does the domain count?
  • Emails
  • Accessing Readme through a Shortcode
  • How to Sell WordPress Products?
  • Releasing Beta Versions of a WordPress Product
  • Paddle Billing
  • Customer Dashboard
  • Membership Levels
  • Restrict Content
  • Add a Custom Payment Action
  • How to customize “Download” Button?
  • Adding Manual Payments

Handywriter

11
  • Installation & Configuration
  • Write a Blog Post
  • Create a Summary
  • Suggest a Title
  • Keep records of AI generated Contents
  • Grammar & Spelling Fixer
  • Plagiarism Check
  • Content Templates
  • How to create a Meta Description?
  • How to complete a sentence?
  • How does credit calculation work?

Easy Text-to-Speech

5
  • Installation & Configuration
  • Using with Block Editor
  • Using with Classic Editor
  • OpenAI Integration
  • ElevenLabs Integration

WP Accessibility Toolkit

3
  • Customization
  • Hotkeys: Quick Navigation and Efficiency
  • Do not show the accessibility toolkit on the specific page

FAQ

1
  • How to Enter Your VAT Number for VAT Deduction at Checkout
  • Home
  • Docs
  • Magic Login Pro
  • CLI Command
View Categories

CLI Command

Magic Login Pro includes powerful WP-CLI support to manage login links, QR code generation, bulk user operations, and plugin settings. This allows for automation, remote control, and developer-friendly workflows in server environments.

Create Magic Login Links for a User #

Generate one or more magic login URLs for any existing user by their ID, login, or email:

wp magic-login create <user> [--count=<count>] [--redirect-to=<url>] [--send] [--qr] [--qr-img]

Parameters #

  • --count: Number of links to generate (default: 1).
  • --redirect-to: Optional redirect URL after login.
  • --send: Sends the login link to the user’s email.
  • --qr: Outputs the QR code URL for each login link.
  • --qr-img: Outputs the QR code as an HTML <img> tag.

Example:

wp magic-login create admin --count=1 --redirect-to='https://example.org/' --qr

and output will be something like

https://example.org/wp-login.php?user_id=1&token=...
QR: https://example.org/magic-login-qr?url=...

In version 1.3.1, `redirect-to` parameter has been added! You can easily specify the redirection URLs.

Bulk Generate Login Links by Role #

Generate login links for all users of a specific role and optionally export them:

wp magic-login bulk-create [--role=<role>] [--redirect-to=<url>] [--send] [--format=<format>] [--qr] [--qr-img]

Parameters #

  • --role: Restrict generation to users with a specific role.
  • --redirect-to: Optional redirect URL.
  • --send: Emails each user their link.
  • --format: Output format (table, csv, json, yaml). Default: table.
  • --qr: Adds a QR code URL to each record.
  • --qr-img: Adds an <img> tag with QR code to each record.

Example:

wp magic-login bulk-create --role=subscriber --format=csv --qr > login-links.csv

Export Plugin Settings #


Export your current plugin settings to a .json file:

wp magic-login export-settings [--file=<file>] [--include-sensitive] [--include-license]

Parameters #

  • --file: Path to export file (default: magic-login-settings.json).
  • --include-sensitive: Includes decrypted API credentials.
  • --include-license: Includes license key.

Example:

wp magic-login export-settings --file=config.json --include-sensitive --include-license

Import Plugin Settings #

Import a previously exported settings file:

wp magic-login import-settings --file=<file> [--activate-license]

Parameters #

  • --file: Path to a .json settings file.
  • --activate-license: Activates license from the file.

Example

wp magic-login import-settings --file=config.json --activate-license

Reset Plugin Data #

Reset plugin data using the following command:

wp magic-login reset <what>

Options for <what>

  • settings: Reset plugin settings.
  • license: Reset stored license key.
  • all-tokens: Delete all user login tokens.

Example:

wp magic-login reset all-tokens

Notes #

  • All CLI operations assume you have the appropriate permissions.
  • Login links generated via CLI bypass IP restrictions.
  • Use --include-sensitive and --include-license flags cautiously in production environments.
  • WP-CLI is recommended for advanced users, CI/CD workflows, and bulk administration tasks.

Was this guide helpful for you?
Updated on May 10, 2025
QR Code LoginAdd Login form to a Page
Table of Contents
  • Create Magic Login Links for a User
    • Parameters
  • Bulk Generate Login Links by Role
    • Parameters
  • Export Plugin Settings
    • Parameters
  • Import Plugin Settings
    • Parameters
  • Reset Plugin Data
  • Notes

HandyPlugins

Explore

Home
Blog
Contact Us
My Account

Products

Magic Login Pro
Handywriter
Easy Text-to-Speech
PaddlePress Pro
WP Accessibility Toolkit

Follow Us

Twitter
Facebook
GitHub
WordPress

2025 – HandyPlugins.co | Hosted on WPHandle and optimized with Powered Cache

  • Terms and Conditions
  • Privacy Policy
  • Cookie Policy
  • Home
  • Plugins
    • Magic Login Pro
    • Handywriter
    • WP Accessibility Toolkit
    • PaddlePress Pro
    • Easy Text-to-Speech
  • Docs
  • About
  • Blog
  • Contact
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkPrivacy policy