PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
sitepress-multilingual-cms
/
classes
/
ATE
<?php use WPML\Setup\Option; /** * @author OnTheGo Systems */ class WPML_TM_ATE_Status { public static function is_enabled() { $tm_settings = wpml_get_setting_filter( null, 'translation-management' ); $doc_translation_method = null; if ( is_array( $tm_settings ) && array_key_exists( 'doc_translation_method', $tm_settings ) ) { $doc_translation_method = $tm_settings['doc_translation_method']; } return $doc_translation_method === ICL_TM_TMETHOD_ATE; } public static function is_active() { if ( Option::isTMAllowed() ) { $ams_data = get_option( WPML_TM_ATE_Authentication::AMS_DATA_KEY, array() ); if ( $ams_data && array_key_exists( 'status', $ams_data ) ) { return $ams_data['status'] === WPML_TM_ATE_Authentication::AMS_STATUS_ACTIVE; } } return false; } public static function is_enabled_and_activated() { return self::is_enabled() && self::is_active(); } }
[+]
Log
[-] class-wpml-tm-ate-status.php
[edit]
[+]
Hooks
[-] class-wpml-tm-ate-jobs.php
[edit]
[+]
models
[-] class-wpml-tm-ams-user-sync.php
[edit]
[+]
TranslateEverything
[+]
Retry
[+]
Download
[-] StatusBar.php
[edit]
[-] class-wpml-tm-ams-translator-activation-records.php
[edit]
[+]
auto-translate
[-] JobRecord.php
[edit]
[-] ReturnedJobsQueue.php
[edit]
[-] class-wpml-tm-ate-job.php
[edit]
[-] Loader.php
[edit]
[-] StatusIcons.php
[edit]
[+]
proxies
[+]
Sync
[+]
sitekey
[-] class-wpml-tm-ams-users.php
[edit]
[+]
..
[+]
REST
[-] class-wpml-tm-ate-ams-endpoints.php
[edit]
[-] class-wpml-tm-ate.php
[edit]
[-] SyncLock.php
[edit]
[-] class-wpml-tm-ams-ate-factories.php
[edit]
[+]
API
[-] JobRecords.php
[edit]
[-] TranslateEverything.php
[edit]
[+]
Review
[-] Jobs.php
[edit]