Compare commits

...

2 Commits

Author SHA1 Message Date
e3633a8fa6 handling change frm cs to cz
All checks were successful
continuous-integration/drone/push Build is passing
2025-02-18 16:35:43 +01:00
d5f5872e0c removing unecessary lineskips 2025-02-18 16:35:24 +01:00
2 changed files with 3 additions and 2 deletions

View File

@ -16,7 +16,6 @@ add_action('admin_menu', 'post_remove');
// function register_theme_settings_option_page()
// {
// // Check function exists.
// if (function_exists('acf_add_options_page')) {
@ -60,7 +59,6 @@ function enqueue_admin_script($hook)
add_action('admin_enqueue_scripts', 'enqueue_admin_script');
// ##### REMOVE FROM ADMIN MENU
function custom_menu_page_removing()
{

View File

@ -73,6 +73,9 @@ function get_latest_game_datas($request)
if ($currentLanguage === "pt") {
$currentLanguage = "pt-pt";
}
if ($currentLanguage === "cz") {
$currentLanguage = "cs";
}
// SWITCH TO CURRENT REQUEST LANGUAGE
do_action('wpml_switch_language', $currentLanguage);