✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ premium290.web-hosting.com ​🇻​♯➤ 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 63.250.38.37 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.102
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/tdhomesa/public_html/wp-content/plugins/elementskit-lite/compatibility/wpml//init.php
<?php
namespace ElementsKit_Lite\Compatibility\Wpml;

defined( 'ABSPATH' ) || exit;


/**
 * Init
 * Initiate all necessary classes, hooks, configs.
 *
 * @since 1.2.6
 */
class Init {

	/**
	 * Member Variable
	 *
	 * @var instance
	 */
	private static $instance;

	/**
	* Instance.
	*
	* Ensures only one instance of the plugin class is loaded or can be loaded.
	*
	* @since 1.2.6
	* @access public
	* @static
	*
	* @return Init An instance of the class.
	*/
	public static function instance() {
		if ( is_null( self::$instance ) ) {

			// Fire when ElementsKit_Lite instance.
			self::$instance = new self();
		}

		return self::$instance;
	}

	/**
	* Construct the plugin object.
	*
	* @since 1.2.6
	* @access public
	*/
	public function __construct() {

		if(defined('ICL_SITEPRESS_VERSION')){
			add_filter( 'elementor/documents/get/post_id', [$this, 'wpml_template_translation']);
		}
	}

	/**
	* Get the ID in the current language or in another language you specify
	* @param $id
	* @return string or array of object ids
	* @since 2.6.1 
	* @access public
	*/
	public function wpml_template_translation($element_id){

		$element_type = get_post_type($element_id);

		if (in_array($element_type, ['elementskit_template', 'elementskit_content'])) {
			return apply_filters('wpml_object_id', $element_id, $element_type, true);
		}

		return $element_id;
	}
}


Current_dir [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
4 Jun 2026 10.13 AM
tdhomesa / tdhomesa
0755
init.php
1.332 KB
20 Jun 2022 12.35 PM
tdhomesa / tdhomesa
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF