WordPress Reset password Strength set to medium
Question
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'
) );
}
0
actions, filters, password, plugin-development, woocommerce
3 years
2020-08-19T16:10:59-05:00
2020-08-19T16:10:59-05:00 0 Answers
47 views
0
Leave an answer