Current Path : /storage/v11800/affypharma/public_html/wp-content/plugins/bdthemes-element-pack/includes/compatiblity/wpml/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/affypharma/public_html/wp-content/plugins/bdthemes-element-pack/includes/compatiblity/wpml/class-wpml-element-pack-custom-carousel.php |
<?php
/**
* Class WPML_Jet_Elements_Custom_Carousel
*/
class WPML_ElementPack_Custom_Carousel extends WPML_Elementor_Module_With_Items {
/**
* @return string
*/
public function get_items_field() {
return 'skin_template_slides';
}
/**
* @return array
*/
public function get_fields() {
return array( 'editor_content' );
}
/**
* @param string $field
* @return string
*/
protected function get_title( $field ) {
switch( $field ) {
case 'editor_content':
return esc_html__( 'Slides', 'bdthemes-element-pack' );
default:
return '';
}
}
/**
* @param string $field
* @return string
*/
protected function get_editor_type( $field ) {
switch( $field ) {
case 'editor_content':
return 'AREA';
default:
return '';
}
}
}