HEX
Server: Apache
System: Linux webm014.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: circuix (152771)
PHP: 8.0.30
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/circuix/adrRc/wp-content/plugins/weglot/src/third/calderaforms/class-caldera-i18n-inline.php
<?php

namespace WeglotWP\Third\Calderaforms;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

use WeglotWP\Models\Hooks_Interface_Weglot;
use WeglotWP\Helpers\Helper_Filter_Url_Weglot;


/**
 * @since 3.0.0
 */
class Caldera_I18n_Inline implements Hooks_Interface_Weglot {
	/**
	 * @var Caldera_Active
	 */
	private $caldera_active_services;

	/**
	 * @since 3.0.0
	 * @return void
	 */
	public function __construct() {
		$this->caldera_active_services = weglot_get_service( 'Caldera_Active' );
	}

	/**
	 * @since 3.0.0
	 */
	public function hooks() {
		if ( ! $this->caldera_active_services->is_active() ) {
			return;
		}

		add_filter( 'caldera_forms_print_translation_strings_in_footer', '__return_true' );
	}
}