- octubre 19, 2023https://ENLACE.COM/productos/?filter_marca=bmw
- octubre 19, 2023function hide_notices_dashboard() { global $wp_filter; if ( is_network_admin() and isset($wp_filter['network_admin_notices']) ) { unset( $wp_filter['network_admin_notices'] ); } elseif( is_user_admin() && isset($wp_filter['user_admin_notices'])…
- octubre 19, 2023add_action( 'template_redirect', 'wc_custom_redirect_after_purchase' ); function wc_custom_redirect_after_purchase() { global $wp; if ( is_checkout() && ! empty( $wp->query_vars['order-received'] ) ) { wp_redirect(…
- octubre 19, 2023img { -webkit-filter: invert(100%); -moz-filter: invert(100%); filter: invert(100%); }
- octubre 19, 2023function shortcode_mis_pedidos( $atts ) { extract( shortcode_atts( array( 'order_count' => -1 ), $atts ) ); ob_start(); wc_get_template( 'myaccount/my-orders.php', array( 'current_user'…
- octubre 19, 2023.select2-container .select2-selection--single { height: 40px; color: #fff !important; } .select2-container--default .select2-selection--single { border-radius: 0px !important; color: #fff !important; } .select2-container--default…
- octubre 19, 2023add_action( 'woocommerce_after_shop_loop_item_title', 'dcms_show_out_stock', 10 ); function dcms_show_out_stock() { global $product; if ( $product->managing_stock() && ! $product->is_in_stock() ){ echo '<p class="stock…
- octubre 19, 2023add_action( 'wp_login_failed', 'my_front_end_login_fail' ); // hook para el accesso fallido function my_front_end_login_fail( $username ) { $referrer = $_SERVER['HTTP_REFERER']; // ¿de…
- octubre 19, 2023Perdón por el retraso en la respuesta debido a los fines de semana :) ¿Podrías pasar a la página con…
- octubre 19, 2023add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2); function change_existing_currency_symbol( $currency_symbol, $currency ) { if($currency="USD"){ $currency_symbol="U\$S "; } return $currency_symbol; }