Created
October 29, 2019 17:12
-
-
Save gonzalesc/e78725ce0ff60feabea41d01ef7b9bc4 to your computer and use it in GitHub Desktop.
Force Language in Culqi Integration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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