add_action( 'wp_enqueue_scripts', 'porto_child_css', 1001 );
// Load CSS
function porto_child_css() {
// porto child theme styles
wp_deregister_style( 'styles-child' );
wp_register_style( 'styles-child', esc_url( get_stylesheet_directory_uri() ) . '/style.css' );
wp_enqueue_style( 'styles-child' );
if ( is_rtl() ) {
wp_deregister_style( 'styles-child-rtl' );
wp_register_style( 'styles-child-rtl', esc_url( get_stylesheet_directory_uri() ) . '/style_rtl.css' );
wp_enqueue_style( 'styles-child-rtl' );
}
}
//function iconic_remove_password_strength() {
// wp_dequeue_script( 'wc-password-strength-meter' );
//}
//add_action( 'wp_print_scripts', 'iconic_remove_password_strength', 10 );
add_filter( 'woocommerce_min_password_strength', 'iconic_min_password_strength', 10, 1 );
// First, change the required password strength
add_filter( 'woocommerce_min_password_strength', 'reduce_min_strength_password_requirement' );
function reduce_min_strength_password_requirement( $strength ) {
// 3 => Strong (default) | 2 => Medium | 1 => Weak | 0 => Very Weak (anything).
return 0;
}
// Second, change the wording of the password hint.
add_filter( 'password_hint', 'smarter_password_hint' );
function smarter_password_hint ( $hint ) {
$hint = 'Sugerencia: La contraseña debe ser de al menos ocho caracteres. Para hacerla más fuerte usa mayúsculas y minúsculas, números y símbolos como ! " ? $ % ^ y ).';
return $hint;
}
Batería de Litio para Scooter Compatible con Xiaomi m365 - Smart Electronic
Acabas de agregar este producto al carrito: