
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;
}<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//smart-electronic.cl/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://smart-electronic.cl/post-sitemap.xml</loc>
		<lastmod>2026-03-26T20:49:13+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://smart-electronic.cl/page-sitemap.xml</loc>
		<lastmod>2026-03-18T11:49:59+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://smart-electronic.cl/product-sitemap.xml</loc>
		<lastmod>2026-01-07T03:31:40+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://smart-electronic.cl/category-sitemap.xml</loc>
		<lastmod>2026-03-26T20:49:13+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://smart-electronic.cl/product_cat-sitemap.xml</loc>
		<lastmod>2026-01-07T03:31:40+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->