'wpml', 'title' => __( 'WPML Compatibility', 'polylang' ), 'description' => __( 'WPML compatibility mode of Polylang', 'polylang' ), ) ); } /** * tells if the module is active * * @since 1.8 * * @return bool */ public function is_active() { return ! defined( 'PLL_WPML_COMPAT' ) || PLL_WPML_COMPAT; } }