ldc-groupe/content/plugins/wpml-translation-management/classes/translation-proxy/api/class-wpml-tp-services.php

21 lines
484 B
PHP
Raw Normal View History

2020-04-17 16:50:36 +02:00
<?php
class WPML_TP_Services {
public function get_current_project() {
return TranslationProxy::get_current_project();
}
public function get_current_service() {
return TranslationProxy::get_current_service();
}
/**
* @param $service_id
* @param bool $custom_fields
*
* @throws WPMLTranslationProxyApiException
*/
public function select_service( $service_id, $custom_fields = false ) {
TranslationProxy::select_service( $service_id, $custom_fields );
}
}