File "class-wpml-pp-pricing-table.php"

Full path: /home/kosmetik/public_html/wp-content/plugins/powerpack-elements142/classes/wpml/class-wpml-pp-pricing-table.php
File size: 700 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Editor   Back

<?php

class WPML_PP_Pricing_Table extends WPML_Elementor_Module_With_Items
{
    public function get_items_field()
    {
        return 'table_features';
    }
    public function get_fields()
    {
        return array('feature_text');
    }
    protected function get_title($field)
    {
        switch ($field) {
            case 'feature_text':
                return esc_html__('Price Table - Feature Text', 'powerpack');
            default:
                return '';
        }
    }
    protected function get_editor_type($field)
    {
        switch ($field) {
            case 'feature_text':
                return 'LINE';
            default:
                return '';
        }
    }
}