Compare commits
No commits in common. "e3633a8fa6f2c0457ac16e299d95fed71457b964" and "b6c03407c10ba431c89dfb33d833a16bd0cb8958" have entirely different histories.
e3633a8fa6
...
b6c03407c1
|
|
@ -16,6 +16,7 @@ add_action('admin_menu', 'post_remove');
|
|||
|
||||
// function register_theme_settings_option_page()
|
||||
// {
|
||||
|
||||
// // Check function exists.
|
||||
// if (function_exists('acf_add_options_page')) {
|
||||
|
||||
|
|
@ -59,6 +60,7 @@ function enqueue_admin_script($hook)
|
|||
add_action('admin_enqueue_scripts', 'enqueue_admin_script');
|
||||
|
||||
|
||||
|
||||
// ##### REMOVE FROM ADMIN MENU
|
||||
function custom_menu_page_removing()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -73,9 +73,6 @@ 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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user