first commit

This commit is contained in:
2023-11-23 22:14:40 +01:00
commit 6c5e83d1b2
2779 changed files with 640726 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
<?php
if ( calla_elated_is_wpml_installed() ) {
include_once ELATED_FRAMEWORK_MODULES_ROOT_DIR . '/wpml/wpml-functions.php';
}

View File

@@ -0,0 +1,9 @@
<?php
if ( ! function_exists( 'calla_elated_disable_wpml_css' ) ) {
function calla_elated_disable_wpml_css() {
define( 'ICL_DONT_LOAD_LANGUAGE_SELECTOR_CSS', true );
}
add_action( 'after_setup_theme', 'calla_elated_disable_wpml_css' );
}