b3_easy_passwords()

Description

This filter allows you to extend/override the list of 'too easy' passwords.

Arguments

  • $passwords
    (array) - Currently blocked passwords.

Return

(array)   An array of passwords which are too easy and won't be allowed.

Usage

  1. function b3_override_easy_passwords( $passwords ) {
  2.     // Do something with $passwords
  3.     return $passwords;
  4. }
  5. add_filter( 'b3_easy_passwords', 'b3_override_easy_passwords' );

Used in

Tags