Skip to content

Instantly share code, notes, and snippets.

View gonzalesc's full-sized avatar

Alexander gonzalesc

View GitHub Profile
@gonzalesc
gonzalesc / customize_price_range_format.php
Created December 16, 2024 18:32
Modify the price range format on the variable product
<?php
/**
* Modify the price range format on the product page
* @package LetsGodev\MuPlugins
* @since 1.0
*/
add_filter( 'woocommerce_get_price_html', 'priceRangeFormat', 10, 2 );
/**
@gonzalesc
gonzalesc / fullculqi_force_language.php
Created October 29, 2019 17:12
Force Language in Culqi Integration
<?php
if( !function_exists('letsgo_culqi_force_language') ) {
function letsgo_culqi_force_language($language = 'es') {
return 'es'; //"es" or "en"
}
add_filter('fullculqi/global/language', 'letsgo_culqi_force_language', 10, 1);
}