File "class-wpml-pp-image-hotspots.php"
Full path: /home/kosmetik/public_html/wp-content/plugins/powerpack-elements142/classes/wpml/class-wpml-pp-image-hotspots.php
File
size: 902 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor Back
<?php
class WPML_PP_Image_Hotspots extends WPML_Elementor_Module_With_Items
{
public function get_items_field()
{
return 'hot_spots';
}
public function get_fields()
{
return array('hotspot_text', 'tooltip_content');
}
protected function get_title($field)
{
switch ($field) {
case 'hotspot_text':
return esc_html__('Image Hotspot - Type Text', 'powerpack');
case 'tooltip_content':
return esc_html__('Image Hotspot - Tooltip Content', 'powerpack');
default:
return '';
}
}
protected function get_editor_type($field)
{
switch ($field) {
case 'hotspot_text':
return 'LINE';
case 'tooltip_content':
return 'VISUAL';
default:
return '';
}
}
}