ldc-groupe/content/plugins/wpml-translation-management/classes/words-count/class-wpml-tm-string.php
Vincent BRIDIER 134507db43 - Backup DEV
- Add DotEnv
- Fix Bato
- Etc..
2020-05-04 15:59:02 +02:00

18 lines
No EOL
386 B
PHP

<?php
class WPML_TM_String extends WPML_TM_Translatable_Element {
protected function init( $id ) {}
protected function get_type() {
return 'string';
}
protected function get_total_words() {
return $this->word_count_records->get_string_word_count( $this->id );
}
public function get_type_name( $label = null ) {
return __( 'String', 'wpml-translation-management' );
}
}