WordPress Reset password Strength set to medium
I have been looking for an answer for a few days digging through hooks and actions.
I just cane seem to find a way to turn down the strength on the reset password page not sure if its through woo-commerce or WP
I have tried the following
add_filter( 'woocommerce_min_password_strength', 'reduce_woocommerce_min_strength_requirement' );
function reduce_woocommerce_min_strength_requirement( $strength ) {
return 2;
}
add_filter( 'wc_password_strength_meter_params', 'reduce_strength_meter_settings' );
function reduce_strength_meter_settings( $data ) {
return array_merge( $data, array(
'min_password_strength' = 2,
'i18n_password_hint' = 'Change Hint here'
) );
}
Topic woocommerce-offtopic password actions filters plugin-development Wordpress
Category Web