File "class-wpml-pp-content-ticker.php"
Full path: /home/kosmetik/public_html/wp-content/plugins/powerpack-elements/classes/wpml/class-wpml-pp-content-ticker.php
File
size: 874 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor Back
<?php
class WPML_PP_Content_Ticker extends WPML_Elementor_Module_With_Items
{
public function get_items_field()
{
return 'items';
}
public function get_fields()
{
return array('ticker_title', 'link' => array('url'));
}
protected function get_title($field)
{
switch ($field) {
case 'ticker_title':
return esc_html__('Content Ticker - Item Title', 'powerpack');
case 'url':
return esc_html__('Content Ticker - Item Link', 'powerpack');
default:
return '';
}
}
protected function get_editor_type($field)
{
switch ($field) {
case 'ticker_title':
return 'LINE';
case 'url':
return 'LINE';
default:
return '';
}
}
}