PATH:
home
/
letacommog
/
aperobusiness
/
wp-content
/
plugins
/
wp-rocket
/
inc
/
3rd-party
/
plugins
/
i18n
<?php defined( 'ABSPATH' ) || die( 'Cheatin’ uh?' ); if ( defined( 'ICL_SITEPRESS_VERSION' ) && ICL_SITEPRESS_VERSION ) : /** * Conflict with WPML: Clear the homepage when the "Use directory for default language" option is activated. * * @since 2.6.8 */ function rocket_clean_directory_for_default_language_on_wpml() { $option = get_option( 'icl_sitepress_settings' ); if ( 1 === $option['language_negotiation_type'] && $option['urls']['directory_for_default_language'] ) { rocket_clean_files( home_url() ); } } add_action( 'after_rocket_clean_domain', 'rocket_clean_directory_for_default_language_on_wpml' ); /** * Tell WooCommerce Multilingual that we are caching. * This will add a URL param when switching currency to get the correct response. * */ add_filter( 'wcml_is_cache_enabled_for_switching_currency', '__return_true' ); endif;
[+]
..
[-] polylang.php
[edit]
[-] wpml.php
[edit]