Skip to content

Instantly share code, notes, and snippets.

@gonzalesc
Created October 29, 2019 17:12
Show Gist options
  • Save gonzalesc/e78725ce0ff60feabea41d01ef7b9bc4 to your computer and use it in GitHub Desktop.
Save gonzalesc/e78725ce0ff60feabea41d01ef7b9bc4 to your computer and use it in GitHub Desktop.
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);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment