PluginProbe
Translation with DeepL API / 2.4.3.9
Translation with DeepL API v2.4.3.9
trunk 0.1.20180323 1.0 1.2.5.1 1.5.2.5 1.7.5 2.4.3.12 2.4.3.9 2.4.5
← All changes | client/deeplapi-functions.php +1 -2 2.4.5 → 2.4.3.9 View file →
@@ -1,10 +1,9 @@
1 1 <?php
2 2
3 -function deepl_translate( $source_lang = false, $target_lang = false, $strings = array(), $cache_prefix = '', $allow_cache = true ) {
3 +function deepl_translate( $source_lang = false, $target_lang = false, $strings = array(), $cache_prefix = '' ) {
4 4 $DeepLApiTranslate = new DeepLApiTranslate();
5 5 $DeepLApiTranslate->setCachePrefix( $cache_prefix );
6 - $DeepLApiTranslate->allowCache( $allow_cache );
7 6
8 7 if ( $source_lang ) {
9 8 $DeepLApiTranslate->setLangFrom( $source_lang );
10 9 }