• Resolved duracell_bunny

    (@ohninhoj)


    Hi,

    I would like to reset passwords without issuing the “reset your password” email.

    My site is moving to “magic link”/”passwordless” login and user passwords will no longer needed- thus it makes sense to reset all user passwords without notification

    Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Support Dilip Bheda

    (@dilipbheda)

    Hey @ohninhoj,

    There is no filter or setting available in the free version. but you can disable email notifications using the below filter provided by WordPress.

    function mupt_skip_email_notification( $args ) {
      if ( ! empty( $args['to'] ) && ! empty( $args['subject'] ) ) {
        if ( false !== strpos( $args['subject'], 'Reset Password of' ) ) {
          return array();
        }
      }
      return $args;
    }
    add_filter( 'wp_mail', 'mupt_skip_email_notification', 10, 1 );

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Reset Passwords without Email’ is closed to new replies.