first commit

This commit is contained in:
2024-07-15 11:28:08 +02:00
commit f52d538ea5
21891 changed files with 6161164 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
<?php
/**
* Class Jet_Tabs_WPML_Tabs
*/
class Jet_Tabs_WPML_Tabs extends WPML_Elementor_Module_With_Items {
public function get_items_field() {
return 'tabs';
}
public function get_fields() {
return array( 'item_label', 'item_editor_content' );
}
protected function get_title( $field ) {
switch( $field ) {
case 'item_label':
return esc_html__( 'Jet Tabs: Item Label', 'jet-tabs' );
case 'item_editor_content':
return esc_html__( 'Jet Tabs: Item Editor Content', 'jet-tabs' );
default:
return '';
}
}
protected function get_editor_type( $field ) {
switch( $field ) {
case 'item_label':
return 'LINE';
case 'item_editor_content':
return 'VISUAL';
default:
return '';
}
}
}