woocommerce_min_password_strength
Использование
add_filter( 'woocommerce_min_password_strength', 'wp_kama_woocommerce_min_password_strength_filter' ); /** * Function for `woocommerce_min_password_strength` filter-hook. * * @param $3 * * @return */ function wp_kama_woocommerce_min_password_strength_filter( $3 ){ // filter... return $3; }
- $3
- -
Где вызывается хук
woocommerce_min_password_strength
woocommerce/includes/class-wc-frontend-scripts.php 622
'min_password_strength' => apply_filters( 'woocommerce_min_password_strength', 3 ),