HEX
Server: Apache
System: Linux sxb1plmcpnl510113.prod.sxb1.secureserver.net 4.18.0-553.58.1.lve.el8.x86_64 #1 SMP Fri Jul 4 12:07:06 UTC 2025 x86_64
User: acnbijigo78q (10488831)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: /home/acnbijigo78q/public_html/wp-content/plugins/wpml-graphql/plugin.php
<?php
/**
 * Plugin Name: WPML GraphQL
 * Description: Enables WPML support for WPGraphQL
 * Author: OnTheGoSystems
 * Author URI: http://www.onthegosystems.com
 * Version: 1.1.3
 * Plugin Slug: wpml-graphql
 * WPGraphQL tested up to: 2.0.0
 *
 * @package wpml/graphql
 */

if ( defined( 'WPML_GRAPHQL_VERSION' ) ) {
	return;
}

define( 'WPML_GRAPHQL_VERSION', '1.1.3' );
define( 'WPML_GRAPHQL_PATH', __DIR__ );
define( 'WPML_GRAPHQL_URL', untrailingslashit( plugin_dir_url( __FILE__ ) ) );

if ( ! class_exists( 'WPML_Core_Version_Check' ) ) {
	require_once WPML_GRAPHQL_PATH . '/vendor/wpml-shared/wpml-lib-dependencies/src/dependencies/class-wpml-core-version-check.php';
}

if ( ! WPML_Core_Version_Check::is_ok( WPML_GRAPHQL_PATH . '/wpml-dependencies.json' ) ) {
	return;
}

require_once WPML_GRAPHQL_PATH . '/vendor/autoload.php';

add_action( 'wpml_loaded', 'wpmlGraphqlLoader' );

function wpmlGraphqlLoader() {
	if ( ! class_exists( 'WPGraphQL' ) ) {
		return;
	}

	$actions_filters_loader = new \WPML_Action_Filter_Loader();
	$actions_filters_loader->load( [ \WPML\GraphQL\Loader::class ] );
}