🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Konto Get it free
Password Reset with Code for WordPress REST API icon
Verlangsamen Getestet bis 6.8.13 #2 in password reset

Password Reset with Code for WordPress REST API

A simple plugin that adds a password reset facility to the WordPress REST API using a code. The process is a two step process:

Aktive Installationen800+100+ Stufe
Downloads · 30d456▲ +39.4% vs prev. 30d
Wertung5/510 reviews
Gesundheits-Score48/100Messe
Downloads aller Zeiten20.3KSeit Mai 2020
Unterstützung gelöst—Keine aktuellen Threads
erfordertWP 4.6PHP 5.4+
Downloads · 7d112▼ -5,9% Woche für Woche
Unser Urteil

Mit Vorsicht verwenden

Password Reset with Code for Wo… works, but test it on a staging site before relying on it in 2026. It runs on 800+ sites, is rated 5/5 and was last updated 1 year ago, and scores 48/100 on our health check.

  • Small user base (800+ active installs)
  • Kein Update in über einem Jahr
  • Nur getestet bis WordPress 6.8 (letzt ist 7.1)

Wie stapelt es sich?

Side-by-side bei Installationen, Updates, Bewertungen und Support

Tägliche Downloads

71421Sep 1Oct 15Nov 29
Gestern11
Täglicher Durchschnitt (1 Jahr)9
Spitzentag55Mar 3, 2026
Letzte 12 Monate3.5K

Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.

Ranglisten

Where Password Reset with Code fo… stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
password reset #20 2,168 Best password reset plugins →
wp-api >100 10,000 Best wp-api plugins →

Versionsübernahme

Anteil aktiver Sites pro Release.

  • 0.0100.0%

Bewertungsaufschlüsselung

★★★★★★★★★★ 5 from 10 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Password Reset with Code for WordPress…

From the official readme · v0.0.17

Beschreibung

A simple plugin that adds a password reset facility to the WordPress REST API using a code. The process is a two step process:

  1. User requests a password reset. A code is emailed to their registered email address
  2. The user enters the code when setting a new password, which is only set if the code is valid and has not expired

It is also possible to check the validity of a code without resetting the password which enables the possibility of setting the password by other means, or having a two stage process for checking the code and resetting the password if desired.

Default settings are to use an 8 digit code consisting of numbers, upper and lower case letters and special characters, which has a life span of 15 minutes, afterwhich a new code would need to be requested. By default a user can attempt to use or validate a code up to 3 times before automatically invalidating it.

Endpoints

The plugin adds two new endpoints to the REST API:

  • Endpoint: /wp-json/bdpwr/v1/reset-password
    — HTTP Verb: POST
    — Parameters (all required):
    — email

  • /wp-json/bdpwr/v1/set-password
    — HTTP Verb: POST
    — Parameters (all required):
    — email
    — password
    — code

  • /wp-json/bdpwr/v1/validate-code
    — HTTP Verb: POST
    — Parameters (all required):
    — email
    — code

Example Requests (jQuery)

Reset Password

$.ajax({
  url: '/wp-json/bdpwr/v1/reset-password',
  method: 'POST',
  data: {
    email: 'example@example.com',
  },
  success: function( response ) {
    console.log( response );
  },
  error: function( response ) {
    console.log( response );
  },
});

Set New Password

$.ajax({
  url: '/wp-json/bdpwr/v1/set-password',
  method: 'POST',
  data: {
    email: 'example@example.com',
    code: '1234',
    password: 'Pa$$word1',
  },
  success: function( response ) {
    console.log( response );
  },
  error: function( response ) {
    console.log( response );
  },
});

Validate Code

$.ajax({
  url: '/wp-json/bdpwr/v1/validate-code',
  method: 'POST',
  data: {
    email: 'example@example.com',
    code: '1234',
  },
  success: function( response ) {
    console.log( response );
  },
  error: function( response ) {
    console.log( response );
  },
});

Example Success Responses (JSON)

Reset Password

{
    "data": {
        "status": 200
    },
    "message": "A password reset email has been sent to your email address."
}

Set New Password

{
    "data": {
        "status": 200
    },
    "message": "Password reset successfully."
}

Validate Code

{
    "data": {
        "status": 200
    },
    "message": "The code supplied is valid."
}

Example Error Responses (JSON)

Reset Password

{
    "code": "bad_email",
    "message": "No user found with this email address.",
    "data": {
        "status": 500
    }
}

Set New Password

{
    "code": "bad_request",
    "message": "You must request a password reset code before you try to set a new password.",
    "data": {
        "status": 500
    }
}

Validate Code

{
    "code": "bad_request",
    "message": "The reset code provided is not valid.",
    "data": {
        "status": 500
    }
}

Filters

A number of WordPress filters have been added to help customise the process, please feel free to request additional filters or submit a pull request with any that you required.

Filter the length of the code

add_filter( 'bdpwr_code_length' , function( $length ) {
  return 4;
}, 10 , 1 );

Filter Expiration Time

add_filter( 'bdpwr_code_expiration_seconds' , function( $seconds ) {
  return 900;
}, 10 , 1 );

Filter the date format used by the plugin to display expiration times

add_filter( 'bdpwd_date_format' , function( $format ) {
  return 'H:i';
}, 10 , 1 );

Filter the reset email subject

add_filter( 'bdpwr_code_email_subject' , function( $subject ) {
  return 'Password Reset';
}, 10 , 1 );

Filter the email content

add_filter( 'bdpwr_code_email_text' , function( $text , $email , $code , $expiry ) {
  return $text;
}, 10 , 4 );

Filter maximum attempts allowed to use a reset code, default is 3, -1 for unlimmited

add_filter( 'bdpwr_max_attempts' , function( $attempts ) {
  return 3;
}, 10 , 4 );

Filter whether to include upper and lowercase letters in the code as well as numbers, default is false

add_filter( 'bdpwr_include_letters' , function( $include ) {
  return false;
}, 10 , 4 );

Filter the characters to be used when generating a code, you can use any string you want, default is 0123456789

add_filter( 'bdpwr_selection_string' , function( $string ) {
  return '0123456789';
}, 10 , 4 );

Filter the WP roles allowed to reset their password with this plugin, default is any, example below shows removing administrators

add_filter( 'bdpwr_allowed_roles' , function( $roles ) {

  $key = array_search( 'administrator' , $roles );

  if( $key !== false ) {
    unset( $roles[ $key ] );
  }

  return $roles;

}, 10 , 1 );

Filter to add custom namespace for REST API

add_filter( 'bdpwr_route_namespace' , function( $route_namespace ) {
  return 'xyz/v1';
}, 10 , 1 );

Credits

Änderungsprotokoll

switched to a cryptographically secure function to generate reset codes updated compatibility to 6.8.1

0.0.17

  • switched to a cryptographically secure function to generate reset codes
  • updated compatibility to 6.5

0.0.16

  • updated compatibility to 6.3
  • By default users with the administrator role are no longer able to reset their password using this plugin
  • The default length of the code that is generated has been increased from 4 to 8 characters
  • The default characters that are used to generate the code have been increased to include upper and lower case letters as well as special characters

0.0.15

  • updated compatibility to 6.1.1

0.0.14

  • updated compatibility to 5.9.3

0.0.13

  • updated to min version 4.6 to allow translations

0.0.12

  • resolved file include errors

Vollständiges Änderungsprotokoll auf WordPress.org →

Für Entwickler

Ist das dein Plugin? Zeigen Sie die Zahlen.

Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.

Aktiv installiert Badge Bewertungsabzeichen Gesundheits-Score-Abzeichen

Best Password Reset with Code for… alternatives

All password reset plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
1 Clean Login Clean Login Frontend login, registration, profile and password reset forms with blocks or shortcodes… by Alberto Hornero 5K+ ★★★★★★★★★★ 4.7 (144) Vor 4 Tagen 85
3 Bulk Password Reset Bulk Password Reset Bulk reset WordPress user passwords by role or selection. Preview first, send secure reset… by Ruben Woudsma 200+ ★★★★★★★★★★ 2.8 (6) Vor 5 Tagen 72
4 Disable Lost Your Password Disable Lost Your Password License URI: http://www.gnu.org/licenses/gpl-2.0.html Disable Wordpress Login Screen "Lost… by Great Guide Info <10 ★★★★★★★★★★ Keine Bewertungen Vor 8 Jahren 21
5 Smart Notification Manager – Design, Customize & Automate WordPress & WooCommerce Emails Smart Notification Manager Take full control of your WordPress and WooCommerce emails. Disable unwanted notifications… by Seventh Sky <10 ★★★★★★★★★★ Keine Bewertungen Vor 2 Wochen 64
6 Melmium Melmium A minimal plugin to help you build a membership site with custom authentication pages. by Takashi Ito <10 ★★★★★★★★★★ Keine Bewertungen Vor 8 Monaten 36
7 Loginicity Loginicity A login themer for your site. von Web Guy <10 ★★★★★★★★★★ Keine Bewertungen Vor 8 Monaten 36
8 Swift Login System – Custom Login, Register, Forgot Password & Email Verification Forms Swift Login System Shortcode-driven Login, Register, Forgot Password & Email Verification forms with one-click… by Bhumi <10 ★★★★★★★★★★ Keine Bewertungen Vor 3 Monaten 54
9 Duva Mail Duva Mail Sends all the emails of WordPress (WooCommerce, forms, password resets) through the Duva… by Duva.ca <10 ★★★★★★★★★★ Keine Bewertungen vor 20 Stunden 64
10 SignInForge SignInForge Design your login, registration and password reset pages with the block editor or… by exodialabs <10 ★★★★★★★★★★ Keine Bewertungen Vor 2 Monaten 60

Fragen und Antworten

Password Reset with Code for WordPr…: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is Password Reset with Code for Wo… free?

Yes. Password Reset with Code for Wo… is free to download and use from the official WordPress.org plugin directory.

Is Password Reset with Code for Wo… safe to use in 2026?

Password Reset with Code for Wo… works, but test it on a staging site before relying on it in 2026. It runs on 800+ sites, is rated 5/5 and was last updated 1 year ago, and scores 48/100 on our health check.

How many websites use Password Reset with Code for Wo…?

Password Reset with Code for Wo… is active on 800+ WordPress websites and has been downloaded 20,264 times since it launched in May 2020. It was downloaded 456 times in the last 30 days.

Does Password Reset with Code for Wo… work with WordPress 7.1?

Password Reset with Code for Wo… is officially tested up to WordPress 6.8.13, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does Password Reset with Code for Wo… need?

Password Reset with Code for Wo… requires PHP 5.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Password Reset with Code for Wo… last updated?

The latest version, 0.0.17, was released on June 5, 2025 (1 year ago).

Who makes Password Reset with Code for Wo…?

Password Reset with Code for Wo… is developed and maintained by dominic_ks.

What are the best alternatives to Password Reset with Code for Wo…?

The most popular alternatives to Password Reset with Code for Wo… are Clean Login (5K+ installs), Bulk Password Reset (200+ installs) and Disable Lost Your Password (<10 installs).

Angetrieben von PageForge

Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.

PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.

  • CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
  • seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
  • Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
  • Kostenlos auf WordPress.org, keine Kreditkarte

↑↓ bewegen↵ öffnen