| @@ -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 | } |