HEX
Server: Apache
System: Linux p3plzcpnl505785.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: xuvi7odgswsg (6947073)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: //home/xuvi7odgswsg/www/wp-content/plugins/bbpowerpack/classes/wpml/class-wpml-pp-pricing-table.php
<?php
class WPML_PP_Pricing_Table extends WPML_Beaver_Builder_Module_With_Items {

	public function &get_items( $settings ) {
		return $settings->pricing_columns;
	}

	public function get_fields() {
		return array( 'hl_featured_title', 'title', 'price', 'duration', 'features', 'button_text', 'button_url', 'matrix_items' );
	}

	protected function get_title( $field ) {
		switch ( $field ) {
			case 'hl_featured_title':
				return esc_html__( 'Pricing Table - Featured Title', 'bb-powerpack' );

			case 'title':
				return esc_html__( 'Pricing Table - Package Title', 'bb-powerpack' );

			case 'price':
				return esc_html__( 'Pricing Table - Price', 'bb-powerpack' );

			case 'duration':
				return esc_html__( 'Pricing Table - Duration', 'bb-powerpack' );

			case 'features':
				return esc_html__( 'Pricing Table - Feature', 'bb-powerpack' );

			case 'button_text':
				return esc_html__( 'Pricing Table - Button Text', 'bb-powerpack' );

			case 'button_url':
				return esc_html__( 'Pricing Table - Button URL', 'bb-powerpack' );

			case 'matrix_items':
				return esc_html__( 'Pricing Table - Matrix Item', 'bb-powerpack' );

			default:
				return '';
		}
	}

	protected function get_editor_type( $field ) {
		switch ( $field ) {
			case 'hl_featured_title':
			case 'title':
			case 'price':
			case 'duration':
			case 'button_text':
				return 'LINE';

			case 'features':
			case 'matrix_items':
				return 'VISUAL';

			case 'button_url':
				return 'LINK';

			default:
				return '';
		}
	}

}