golden hour
/var/www/html/wp-content/plugins/Ultimate_VC_Addons/modules
⬆️ Go Up
Upload
File/Folder
Size
Actions
index.php
86 B
Del
OK
ultimate_animation.php
8.67 KB
Del
OK
ultimate_buttons.php
37.19 KB
Del
OK
ultimate_carousel.php
33.3 KB
Del
OK
ultimate_content_box.php
19.5 KB
Del
OK
ultimate_countdown.php
27.23 KB
Del
OK
ultimate_dual_button.php
68.43 KB
Del
OK
ultimate_dual_colors.php
37.51 KB
Del
OK
ultimate_expandable_section.php
45.05 KB
Del
OK
ultimate_fancy_text.php
32.5 KB
Del
OK
ultimate_flip_box.php
49.79 KB
Del
OK
ultimate_font_manager.php
30.54 KB
Del
OK
ultimate_functions.php
7.15 KB
Del
OK
ultimate_google_maps.php
26.73 KB
Del
OK
ultimate_google_trends.php
11.43 KB
Del
OK
ultimate_headings.php
36.71 KB
Del
OK
ultimate_hightlight_box.php
25.92 KB
Del
OK
ultimate_hotspot.php
37.81 KB
Del
OK
ultimate_icon_manager.php
31.1 KB
Del
OK
ultimate_icon_timeline.php
77.57 KB
Del
OK
ultimate_icons.php
19.74 KB
Del
OK
ultimate_ihover.php
45.8 KB
Del
OK
ultimate_image_separator.php
15.64 KB
Del
OK
ultimate_info_banner.php
34.95 KB
Del
OK
ultimate_info_box.php
38.82 KB
Del
OK
ultimate_info_circle.php
44.21 KB
Del
OK
ultimate_info_list.php
47.12 KB
Del
OK
ultimate_info_tables.php
28.91 KB
Del
OK
ultimate_interactive_banner_2.php
26.74 KB
Del
OK
ultimate_interactive_banners.php
29.26 KB
Del
OK
ultimate_just_icon.php
21.42 KB
Del
OK
ultimate_link.php
26.89 KB
Del
OK
ultimate_list_icon.php
21.12 KB
Del
OK
ultimate_modals.php
65.17 KB
Del
OK
ultimate_parallax.php
81.57 KB
Del
OK
ultimate_pricing_tables.php
26.29 KB
Del
OK
ultimate_range_slider.php
26.49 KB
Del
OK
ultimate_ribbons.php
20.28 KB
Del
OK
ultimate_spacer.php
5.41 KB
Del
OK
ultimate_stats_counter.php
34.04 KB
Del
OK
ultimate_sticky_section.php
13.68 KB
Del
OK
ultimate_swatch_book.php
35.84 KB
Del
OK
ultimate_tab.php
64.3 KB
Del
OK
ultimate_team.php
63.14 KB
Del
OK
ultimate_video_banner.php
17.35 KB
Del
OK
ultimate_videos.php
47.28 KB
Del
OK
utlimate-tab-backend.php
1.5 KB
Del
OK
Edit: ultimate_pricing_tables.php
<?php /** * Add-on Name: Pricing Tables for WPBakery Page Builder * Add-on URI: http://dev.brainstormforce.com * * @package Pricing Tables */ if ( ! class_exists( 'Ultimate_Pricing_Table' ) ) { /** * Function that initializes Pricing Tables Module * * @class Ultimate_Pricing_Table */ class Ultimate_Pricing_Table { /** * Constructor function that constructs default values for the Pricing Tables module. * * @method __construct */ public function __construct() { if ( Ultimate_VC_Addons::$uavc_editor_enable ) { add_action( 'init', array( $this, 'ultimate_pricing_init' ) ); } add_shortcode( 'ultimate_pricing', array( $this, 'ultimate_pricing_shortcode' ) ); add_action( 'wp_enqueue_scripts', array( $this, 'price_table_assets' ), 1 ); } /** * Function that register styles and scripts for Pricing Tables Module. * * @method price_table_assets */ public function price_table_assets() { Ultimate_VC_Addons::ultimate_register_style( 'ultimate-pricing', 'pricing' ); } /** * Function that initializes settings of Pricing Tables Module. * * @method ultimate_pricing_init */ public function ultimate_pricing_init() { if ( function_exists( 'vc_map' ) ) { vc_map( array( 'name' => __( 'Price Box', 'ultimate_vc' ), 'base' => 'ultimate_pricing', 'class' => 'vc_ultimate_pricing', 'icon' => 'vc_ultimate_pricing', 'category' => 'Ultimate VC Addons', 'description' => __( 'Create nice looking pricing tables.', 'ultimate_vc' ), 'params' => array( array( 'type' => 'dropdown', 'class' => '', 'heading' => __( 'Select Design Style', 'ultimate_vc' ), 'param_name' => 'design_style', 'value' => array( __( 'Design 01', 'ultimate_vc' ) => 'design01', __( 'Design 02', 'ultimate_vc' ) => 'design02', __( 'Design 03', 'ultimate_vc' ) => 'design03', __( 'Design 04', 'ultimate_vc' ) => 'design04', __( 'Design 05', 'ultimate_vc' ) => 'design05', __( 'Design 06', 'ultimate_vc' ) => 'design06', ), 'description' => __( 'Select Pricing table design you would like to use', 'ultimate_vc' ), ), array( 'type' => 'dropdown', 'class' => '', 'heading' => __( 'Select Color Scheme', 'ultimate_vc' ), 'param_name' => 'color_scheme', 'value' => array( __( 'Black', 'ultimate_vc' ) => 'black', __( 'Red', 'ultimate_vc' ) => 'red', __( 'Blue', 'ultimate_vc' ) => 'blue', __( 'Yellow', 'ultimate_vc' ) => 'yellow', __( 'Green', 'ultimate_vc' ) => 'green', __( 'Gray', 'ultimate_vc' ) => 'gray', __( 'Design Your Own', 'ultimate_vc' ) => 'custom', ), 'description' => __( 'Which color scheme would like to use?', 'ultimate_vc' ), ), array( 'type' => 'colorpicker', 'class' => '', 'heading' => __( 'Main background Color', 'ultimate_vc' ), 'param_name' => 'color_bg_main', 'value' => '', 'description' => __( 'Select normal background color.', 'ultimate_vc' ), 'dependency' => array( 'element' => 'color_scheme', 'value' => array( 'custom' ), ), ), array( 'type' => 'colorpicker', 'class' => '', 'heading' => __( 'Main text Color', 'ultimate_vc' ), 'param_name' => 'color_txt_main', 'value' => '', 'description' => __( 'Select normal background color.', 'ultimate_vc' ), 'dependency' => array( 'element' => 'color_scheme', 'value' => array( 'custom' ), ), ), array( 'type' => 'colorpicker', 'class' => '', 'heading' => __( 'Highlight background Color', 'ultimate_vc' ), 'param_name' => 'color_bg_highlight', 'value' => '', 'description' => __( 'Select highlight background color.', 'ultimate_vc' ), 'dependency' => array( 'element' => 'color_scheme', 'value' => array( 'custom' ), ), ), array( 'type' => 'colorpicker', 'class' => '', 'heading' => __( 'Highlight text Color', 'ultimate_vc' ), 'param_name' => 'color_txt_highlight', 'value' => '', 'description' => __( 'Select highlight background color.', 'ultimate_vc' ), 'dependency' => array( 'element' => 'color_scheme', 'value' => array( 'custom' ), ), ), array( 'type' => 'textfield', 'class' => '', 'heading' => __( 'Package Name / Title', 'ultimate_vc' ), 'param_name' => 'package_heading', 'admin_label' => true, 'value' => '', 'description' => __( 'Enter the package name or table heading', 'ultimate_vc' ), 'edit_field_class' => 'vc_col-sm-8', ), array( 'type' => 'dropdown', 'heading' => __( 'Package Name / Title Tag', 'ultimate_vc' ), 'param_name' => 'heading_tag', 'value' => array( __( 'Default', 'ultimate_vc' ) => 'h3', __( 'H1', 'ultimate_vc' ) => 'h1', __( 'H2', 'ultimate_vc' ) => 'h2', __( 'H4', 'ultimate_vc' ) => 'h4', __( 'H5', 'ultimate_vc' ) => 'h5', __( 'H6', 'ultimate_vc' ) => 'h6', __( 'Div', 'ultimate_vc' ) => 'div', __( 'p', 'ultimate_vc' ) => 'p', __( 'span', 'ultimate_vc' ) => 'span', ), 'description' => __( 'Default is H3', 'ultimate_vc' ), 'edit_field_class' => 'ult-param-padding-remove vc_col-sm-4', ), array( 'type' => 'textfield', 'class' => '', 'heading' => __( 'Sub Heading', 'ultimate_vc' ), 'param_name' => 'package_sub_heading', 'value' => '', 'description' => __( 'Enter short description for this package', 'ultimate_vc' ), 'edit_field_class' => 'vc_col-sm-8', ), array( 'type' => 'dropdown', 'heading' => __( 'Sub Heading Tag', 'ultimate_vc' ), 'param_name' => 'sub_heading_tag', 'value' => array( __( 'Default', 'ultimate_vc' ) => 'h5', __( 'H1', 'ultimate_vc' ) => 'h1', __( 'H2', 'ultimate_vc' ) => 'h2', __( 'H3', 'ultimate_vc' ) => 'h3', __( 'H4', 'ultimate_vc' ) => 'h4', __( 'H6', 'ultimate_vc' ) => 'h6', __( 'Div', 'ultimate_vc' ) => 'div', __( 'p', 'ultimate_vc' ) => 'p', __( 'span', 'ultimate_vc' ) => 'span', ), 'description' => __( 'Default is H5', 'ultimate_vc' ), 'edit_field_class' => 'ult-param-padding-remove vc_col-sm-4', ), array( 'type' => 'textfield', 'class' => '', 'heading' => __( 'Package Price', 'ultimate_vc' ), 'param_name' => 'package_price', 'value' => '', 'description' => __( 'Enter the price for this package. e.g. $157', 'ultimate_vc' ), ), array( 'type' => 'textfield', 'class' => '', 'heading' => __( 'Price Unit', 'ultimate_vc' ), 'param_name' => 'package_unit', 'value' => '', 'description' => __( 'Enter the price unit for this package. e.g. per month', 'ultimate_vc' ), ), array( 'type' => 'textarea_html', 'class' => '', 'heading' => __( 'Features', 'ultimate_vc' ), 'param_name' => 'content', 'value' => '', 'description' => __( 'Create the features list using un-ordered list elements.', 'ultimate_vc' ), 'edit_field_class' => 'ult_hide_editor_fullscreen vc_col-xs-12 vc_column wpb_el_type_textarea_html vc_wrapper-param-type-textarea_html vc_shortcode-param', ), array( 'type' => 'textfield', 'class' => '', 'heading' => __( 'Button Text', 'ultimate_vc' ), 'param_name' => 'package_btn_text', 'value' => '', 'description' => __( 'Enter call to action button text', 'ultimate_vc' ), ), array( 'type' => 'vc_link', 'class' => '', 'heading' => __( 'Button Link', 'smile' ), 'param_name' => 'package_link', 'value' => '', 'description' => __( 'Select / enter the link for call to action button', 'ultimate_vc' ), ), array( 'type' => 'checkbox', 'class' => '', 'heading' => '', 'param_name' => 'package_featured', 'value' => array( 'Make this pricing box as featured' => 'enable' ), ), array( 'type' => 'number', 'class' => '', 'heading' => __( 'Minimum Height For Price Box', 'ultimate_vc' ), 'param_name' => 'min_ht', 'min' => '', 'suffix' => 'px', 'description' => __( 'Adjust height of your price box.', 'ultimate_vc' ), ), array( 'type' => 'textfield', 'heading' => __( 'Extra class name', 'js_composer' ), 'param_name' => 'el_class', 'description' => __( 'If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'ultimate_vc' ), ), /* typoraphy - package */ array( 'type' => 'ult_param_heading', 'text' => __( 'Package Name/Title Settings', 'ultimate_vc' ), 'param_name' => 'package_typograpy', 'group' => 'Typography', 'class' => 'ult-param-heading', 'edit_field_class' => 'ult-param-heading-wrapper no-top-margin vc_column vc_col-sm-12', ), array( 'type' => 'ultimate_google_fonts', 'heading' => __( 'Font Family', 'ultimate_vc' ), 'param_name' => 'package_name_font_family', 'description' => __( 'Select the font of your choice.', 'ultimate_vc' ) . ' ' . __( 'You can', 'ultimate_vc' ) . " <a target='_blank' rel='noopener' href='" . admin_url( 'admin.php?page=bsf-google-font-manager' ) . "'>" . __( 'add new in the collection here', 'ultimate_vc' ) . '</a>.', 'group' => 'Typography', ), array( 'type' => 'ultimate_google_fonts_style', 'heading' => __( 'Font Style', 'ultimate_vc' ), 'param_name' => 'package_name_font_style', 'group' => 'Typography', ), array( 'type' => 'ultimate_responsive', 'class' => 'font-size', 'heading' => __( 'Font size', 'ultimate_vc' ), 'param_name' => 'package_name_font_size', 'unit' => 'px', 'media' => array( 'Desktop' => '', 'Tablet' => '', 'Tablet Portrait' => '', 'Mobile Landscape' => '', 'Mobile' => '', ), 'group' => 'Typography', ), array( 'type' => 'ultimate_responsive', 'class' => '', 'heading' => __( 'Line Height', 'ultimate_vc' ), 'param_name' => 'package_name_line_height', 'unit' => 'px', 'media' => array( 'Desktop' => '', 'Tablet' => '', 'Tablet Portrait' => '', 'Mobile Landscape' => '', 'Mobile' => '', ), 'group' => 'Typography', ), array( 'type' => 'colorpicker', 'class' => '', 'heading' => __( 'Font Color', 'ultimate_vc' ), 'param_name' => 'package_name_font_color', 'value' => '', 'group' => 'Typography', ), /* typoraphy - sub heading */ array( 'type' => 'ult_param_heading', 'text' => __( 'Sub-Heading Settings', 'ultimate_vc' ), 'param_name' => 'subheading_typograpy', 'group' => 'Typography', 'class' => 'ult-param-heading', 'edit_field_class' => 'ult-param-heading-wrapper vc_column vc_col-sm-12', ), array( 'type' => 'ultimate_google_fonts', 'heading' => __( 'Font Family', 'ultimate_vc' ), 'param_name' => 'subheading_font_family', 'description' => __( 'Select the font of your choice.', 'ultimate_vc' ) . ' ' . __( 'You can', 'ultimate_vc' ) . " <a target='_blank' rel='noopener' href='" . admin_url( 'admin.php?page=bsf-google-font-manager' ) . "'>" . __( 'add new in the collection here', 'ultimate_vc' ) . '</a>.', 'group' => 'Typography', ), array( 'type' => 'ultimate_google_fonts_style', 'heading' => __( 'Font Style', 'ultimate_vc' ), 'param_name' => 'subheading_font_style', 'group' => 'Typography', ), array( 'type' => 'ultimate_responsive', 'class' => 'font-size', 'heading' => __( 'Font size', 'ultimate_vc' ), 'param_name' => 'subheading_font_size', 'unit' => 'px', 'media' => array( 'Desktop' => '', 'Tablet' => '', 'Tablet Portrait' => '', 'Mobile Landscape' => '', 'Mobile' => '', ), 'group' => 'Typography', ), array( 'type' => 'ultimate_responsive', 'class' => '', 'heading' => __( 'Line Height', 'ultimate_vc' ), 'param_name' => 'subheading_line_height', 'unit' => 'px', 'media' => array( 'Desktop' => '', 'Tablet' => '', 'Tablet Portrait' => '', 'Mobile Landscape' => '', 'Mobile' => '', ), 'group' => 'Typography', ), array( 'type' => 'colorpicker', 'class' => '', 'heading' => __( 'Font Color', 'ultimate_vc' ), 'param_name' => 'subheading_font_color', 'value' => '', 'group' => 'Typography', ), /* typoraphy - price */ array( 'type' => 'ult_param_heading', 'text' => __( 'Price Settings', 'ultimate_vc' ), 'param_name' => 'price_typograpy', 'group' => 'Typography', 'class' => 'ult-param-heading', 'edit_field_class' => 'ult-param-heading-wrapper vc_column vc_col-sm-12', ), array( 'type' => 'ultimate_google_fonts', 'heading' => __( 'Font Family', 'ultimate_vc' ), 'param_name' => 'price_font_family', 'description' => __( 'Select the font of your choice.', 'ultimate_vc' ) . ' ' . __( 'You can', 'ultimate_vc' ) . " <a target='_blank' rel='noopener' href='" . admin_url( 'admin.php?page=bsf-google-font-manager' ) . "'>" . __( 'add new in the collection here', 'ultimate_vc' ) . '</a>.', 'group' => 'Typography', ), array( 'type' => 'ultimate_google_fonts_style', 'heading' => __( 'Font Style', 'ultimate_vc' ), 'param_name' => 'price_font_style', 'group' => 'Typography', ), array( 'type' => 'ultimate_responsive', 'class' => 'font-size', 'heading' => __( 'Font size', 'ultimate_vc' ), 'param_name' => 'price_font_size', 'unit' => 'px', 'media' => array( 'Desktop' => '', 'Tablet' => '', 'Tablet Portrait' => '', 'Mobile Landscape' => '', 'Mobile' => '', ), 'group' => 'Typography', ), array( 'type' => 'ultimate_responsive', 'class' => '', 'heading' => __( 'Line Height', 'ultimate_vc' ), 'param_name' => 'price_line_height', 'unit' => 'px', 'media' => array( 'Desktop' => '', 'Tablet' => '', 'Tablet Portrait' => '', 'Mobile Landscape' => '', 'Mobile' => '', ), 'group' => 'Typography', ), array( 'type' => 'colorpicker', 'class' => '', 'heading' => __( 'Font Color', 'ultimate_vc' ), 'param_name' => 'price_font_color', 'value' => '', 'group' => 'Typography', ), /* typoraphy - price unit*/ array( 'type' => 'ult_param_heading', 'text' => __( 'Price Unit Settings', 'ultimate_vc' ), 'param_name' => 'price_unit_typograpy', 'group' => 'Typography', 'class' => 'ult-param-heading', 'edit_field_class' => 'ult-param-heading-wrapper vc_column vc_col-sm-12', ), array( 'type' => 'ultimate_google_fonts', 'heading' => __( 'Font Family', 'smile' ), 'param_name' => 'price_unit_font_family', 'description' => __( 'Select the font of your choice.', 'ultimate_vc' ) . ' ' . __( 'You can', 'ultimate_vc' ) . " <a target='_blank' rel='noopener' href='" . admin_url( 'admin.php?page=bsf-google-font-manager' ) . "'>" . __( 'add new in the collection here', 'ultimate_vc' ) . '</a>.', 'group' => 'Typography', ), array( 'type' => 'ultimate_google_fonts_style', 'heading' => __( 'Font Style', 'ultimate_vc' ), 'param_name' => 'price_unit_font_style', 'group' => 'Typography', ), array( 'type' => 'ultimate_responsive', 'class' => 'font-size', 'heading' => __( 'Font size', 'ultimate_vc' ), 'param_name' => 'price_unit_font_size', 'unit' => 'px', 'media' => array( 'Desktop' => '', 'Tablet' => '', 'Tablet Portrait' => '', 'Mobile Landscape' => '', 'Mobile' => '', ), 'group' => 'Typography', ), array( 'type' => 'ultimate_responsive', 'class' => '', 'heading' => __( 'Line Height', 'ultimate_vc' ), 'param_name' => 'price_unit_line_height', 'unit' => 'px', 'media' => array( 'Desktop' => '', 'Tablet' => '', 'Tablet Portrait' => '', 'Mobile Landscape' => '', 'Mobile' => '', ), 'group' => 'Typography', ), array( 'type' => 'colorpicker', 'class' => '', 'heading' => __( 'Font Color', 'ultimate_vc' ), 'param_name' => 'price_unit_font_color', 'value' => '', 'group' => 'Typography', ), /* typoraphy - feature*/ array( 'type' => 'ult_param_heading', 'text' => __( 'Features Settings', 'ultimate_vc' ), 'param_name' => 'features_typograpy', 'group' => 'Typography', 'class' => 'ult-param-heading', 'edit_field_class' => 'ult-param-heading-wrapper vc_column vc_col-sm-12', ), array( 'type' => 'ultimate_google_fonts', 'heading' => __( 'Font Family', 'ultimate_vc' ), 'param_name' => 'features_font_family', 'description' => __( 'Select the font of your choice.', 'ultimate_vc' ) . ' ' . __( 'You can', 'ultimate_vc' ) . " <a target='_blank' rel='noopener' href='" . admin_url( 'admin.php?page=bsf-google-font-manager' ) . "'>" . __( 'add new in the collection here', 'ultimate_vc' ) . '</a>.', 'group' => 'Typography', ), array( 'type' => 'ultimate_google_fonts_style', 'heading' => __( 'Font Style', 'ultimate_vc' ), 'param_name' => 'features_font_style', 'group' => 'Typography', ), array( 'type' => 'ultimate_responsive', 'class' => 'font-size', 'heading' => __( 'Font size', 'ultimate_vc' ), 'param_name' => 'features_font_size', 'unit' => 'px', 'media' => array( 'Desktop' => '', 'Tablet' => '', 'Tablet Portrait' => '', 'Mobile Landscape' => '', 'Mobile' => '', ), 'group' => 'Typography', ), array( 'type' => 'ultimate_responsive', 'class' => '', 'heading' => __( 'Line Height', 'ultimate_vc' ), 'param_name' => 'features_line_height', 'unit' => 'px', 'media' => array( 'Desktop' => '', 'Tablet' => '', 'Tablet Portrait' => '', 'Mobile Landscape' => '', 'Mobile' => '', ), 'group' => 'Typography', ), array( 'type' => 'colorpicker', 'class' => '', 'heading' => __( 'Font Color', 'ultimate_vc' ), 'param_name' => 'features_font_color', 'value' => '', 'group' => 'Typography', ), /* typoraphy - button */ array( 'type' => 'ult_param_heading', 'text' => __( 'Button Settings', 'ultimate_vc' ), 'param_name' => 'button_typograpy', 'group' => 'Typography', 'class' => 'ult-param-heading', 'edit_field_class' => 'ult-param-heading-wrapper vc_column vc_col-sm-12', ), array( 'type' => 'ultimate_google_fonts', 'heading' => __( 'Font Family', 'ultimate_vc' ), 'param_name' => 'button_font_family', 'description' => __( 'Select the font of your choice.', 'ultimate_vc' ) . ' ' . __( 'You can', 'ultimate_vc' ) . " <a target='_blank' rel='noopener' href='" . admin_url( 'admin.php?page=bsf-google-font-manager' ) . "'>" . __( 'add new in the collection here', 'ultimate_vc' ) . '</a>.', 'group' => 'Typography', ), array( 'type' => 'ultimate_google_fonts_style', 'heading' => __( 'Font Style', 'ultimate_vc' ), 'param_name' => 'button_font_style', 'group' => 'Typography', ), array( 'type' => 'ultimate_responsive', 'class' => 'font-size', 'heading' => __( 'Font size', 'ultimate_vc' ), 'param_name' => 'button_font_size', 'unit' => 'px', 'media' => array( 'Desktop' => '', 'Tablet' => '', 'Tablet Portrait' => '', 'Mobile Landscape' => '', 'Mobile' => '', ), 'group' => 'Typography', ), array( 'type' => 'ultimate_responsive', 'class' => '', 'heading' => __( 'Line Height', 'ultimate_vc' ), 'param_name' => 'button_line_height', 'unit' => 'px', 'media' => array( 'Desktop' => '', 'Tablet' => '', 'Tablet Portrait' => '', 'Mobile Landscape' => '', 'Mobile' => '', ), 'group' => 'Typography', ), array( 'type' => 'colorpicker', 'class' => '', 'heading' => __( 'Font Color', 'ultimate_vc' ), 'param_name' => 'button_font_color', 'value' => '', 'group' => 'Typography', ), array( 'type' => 'css_editor', 'heading' => __( 'Css', 'ultimate_vc' ), 'param_name' => 'css_price_box', 'group' => __( 'Design ', 'ultimate_vc' ), 'edit_field_class' => 'vc_col-sm-12 vc_column no-vc-background no-vc-border creative_link_css_editor', ), ), // params. ) );// vc_map. } } /** * Render function for Pricing Tables Module. * * @param array $atts represts module attribuits. * @param string $content value has been set to null. * @access public */ public function ultimate_pricing_shortcode( $atts, $content = null ) { $ult_price_settings = shortcode_atts( array( 'design_style' => 'design01', ), $atts ); $output = ''; require_once __ULTIMATE_ROOT__ . '/templates/pricing/pricing-' . $ult_price_settings['design_style'] . '.php'; $design_func = 'ult_price_generate_' . $ult_price_settings['design_style']; $output .= $design_func( $atts, $content ); $is_preset = false; // Display settings for Preset. if ( isset( $_GET['preset'] ) ) { // PHPCS:ignore:WordPress.Security.NonceVerification.Recommended $is_preset = true; } if ( $is_preset ) { $text = 'array ( '; foreach ( $atts as $key => $att ) { $text .= '<br/> \'' . $key . '\' => \'' . $att . '\','; } if ( '' != $content ) { $text .= '<br/> \'content\' => \'' . $content . '\','; } $text .= '<br/>)'; $output .= '<pre>'; $output .= $text; $output .= '</pre>'; } return $output; } } // class Ultimate_Pricing_Table. new Ultimate_Pricing_Table(); if ( class_exists( 'WPBakeryShortCode' ) && ! class_exists( 'WPBakeryShortCode_Ultimate_Pricing' ) ) { /** * Function that checks if the class is exists or not. */ class WPBakeryShortCode_Ultimate_Pricing extends WPBakeryShortCode { } } }
Save