Skip to content

Instantly share code, notes, and snippets.

View hemraj7171's full-sized avatar

Hemraj Adhikari hemraj7171

  • Web Experts Nepal(WEN)
  • Kathmandu,Nepal
View GitHub Profile
@hemraj7171
hemraj7171 / gist:fff3de7e5bfeb90647932b96feb0bff5
Created July 21, 2018 04:25
Change WooCommerce password strength level checkout page/my account page
/**
* Put this code into your functions.php file
* 3 = Strong (default)
* 2 = Medium
* 1 = Weak
* 0 = Very Weak / Anything
*/
function raj_woocommerce_pass_strength( $strength ) {
return 2;
}