@ 2020-05-07T08:19:57Z <?php
function __($dummy) {/*whatever*/}
class MembershipForm {
static function form() {
return array(
array(
'type' => 'textfield',
'heading' => __( 'License Type ID' ),
'param_name' => 'license_type',
'description' => esc_attr__( 'Enter License Type ID', 'wds-vc-elements' ),
),
array(
'type' => 'dropdown',
'heading' => __( 'Card Type' ),
'param_name' => 'card_type',
'value' => array(
'Select a card type' => '',
'Appraisal' => 'Appraisal',
'Real Estate' => 'Real Estate',
),
),
array(
'type' => 'dropdown',
'heading' => __( 'Education Type' ),
'param_name' => 'edu_type',
'value' => array(
'Select an education type' => '',
'Continuing Education' => 'CE',
'Qualifying Education' => 'QE',
),
),
array(
'type' => 'dropdown',
'heading' => __( 'Visual Style' ),
'param_name' => 'visual_style',
'value' => array(
'Select a card visual style' => '',
'Minimalist' => 'minimalist-card',
'Modern' => 'modern-card',
),
),
array(
'type' => 'checkbox',
'heading' => __( 'Overlapping the header?', 'wds-vc-elements' ),
'param_name' => 'header_overlap',
),
array(
'type' => 'textfield',
'heading' => __( 'Cards Title', 'wds-vc-elements' ),
'param_name' => 'cards_title',
),
array(
'type' => 'hex_color_picker',
'heading' => __( 'Cards Title Color', 'wds-vc-elements' ),
'param_name' => 'cards_title_color',
),
array(
'type' => 'textfield',
'heading' => __( 'Cards Sub Heading', 'wds-vc-elements' ),
'param_name' => 'cards_sub_heading',
),
array(
'type' => 'hex_color_picker',
'heading' => __( 'Cards Sub Heading Color', 'wds-vc-elements' ),
'param_name' => 'cards_subhead_color',
),
array(
'type' => 'hex_color_picker',
'heading' => __( "<hr><h2 style='text-align:center;'>Dynamic Card Setting</h2>Cards Title Text Color" ),
'param_name' => 'card_color',
),
array(
'type' => 'hex_color_picker',
'heading' => __( 'Cards Title Background Color', 'wds-vc-elements' ),
'param_name' => 'card_bgcolor',
),
array(
'type' => 'hex_color_picker',
'heading' => __( 'Cards Background Color', 'wds-vc-elements' ),
'param_name' => 'card_bg',
),
array(
'type' => 'textarea',
'heading' => __( 'Cards Description', 'wds-vc-elements' ),
'param_name' => 'cards_desc',
),
array(
'type' => 'textfield',
'heading' => __( 'Price Tag Dynamic', 'wds-vc-elements' ),
'param_name' => 'price_tag_dynamic',
),
array(
'type' => 'textfield',
'heading' => __( 'No membership option text', 'wds-vc-elements' ),
'param_name' => 'no_membership',
),
array(
'type' => 'param_group',
'value' => '',
'param_name' => 'cards_group',
'group' => 'Dynamic Card items',
'params' => array(
array(
'type' => 'textarea',
'heading' => __( 'Text to display for this offering (html tags are supported)', 'wds-vc-elements' ),
'param_name' => 'offering_text',
),
),
),
array(
'type' => 'param_group',
'value' => '',
'param_name' => 'default_cards_group',
'group' => 'Static Cards (no state selected)',
'params' => array(
array(
'type' => 'textfield',
'heading' => __( 'Card Title', 'wds-vc-elements' ),
'param_name' => 'card_title',
),
array(
'type' => 'checkbox',
'heading' => __( 'Is Multi-State', 'wds-vc-elements' ),
'description' => esc_attr__( 'Check only if this membership applies to all states.', 'wds-vc-elements' ),
'param_name' => 'is_multi',
),
array(
'type' => 'checkbox',
'heading' => __( 'Is Dual CTA', 'wds-vc-elements' ),
'description' => esc_attr__( 'The license type must contain two individual memberships as returned by StudentAPI.', 'wds-vc-elements' ),
'param_name' => 'is_dualcta',
),
array(
'type' => 'checkbox',
'heading' => __( 'Has Static Header and Description', 'wds-vc-elements' ),
'description' => esc_attr__( 'Override the dynamic header and description with the static fields below.', 'wds-vc-elements' ),
'param_name' => 'is_static',
),
array(
'type' => 'checkbox',
'heading' => __( 'Comparison Card', 'wds-vc-elements' ),
'description' => esc_attr__( 'Adds an informational card next to the purchase card.', 'wds-vc-elements' ),
'param_name' => 'is_comparison',
),
array(
'type' => 'hex_color_picker',
'heading' => __( 'Card Title Color', 'wds-vc-elements' ),
'param_name' => 'card_title_color',
),
array(
'type' => 'hex_color_picker',
'heading' => __( 'Card Title Background Color' ),
'param_name' => 'card_title_bg_color',
),
array(
'type' => 'hex_color_picker',
'heading' => __( 'Card Section Background Color' ),
'param_name' => 'card_section_bg_color',
),
array(
oh my god a syntax error
'type' => 'textarea',
'heading' => __( 'Card Points Intro', 'wds-vc-elements' ),
'param_name' => 'card_points_intro',
),
array(
'type' => 'textarea',
'heading' => __( 'Card Points (Use html list for each line)', 'wds-vc-elements' ),
'param_name' => 'card_points',
),
array(
'type' => 'textfield',
'heading' => __( 'Card Savings Ribbon', 'wds-vc-elements' ),
'description' => esc_attr__( 'This savings ribbon appears at the top of the card.', 'wds-vc-elements' ),
'param_name' => 'card_savings_ribbon',
),
array(
'type' => 'textfield',
'heading' => __( 'Card Price', 'wds-vc-elements' ),
'param_name' => 'card_price',
),
array(
'type' => 'textfield',
'heading' => __( 'Card Price Suffix', 'wds-vc-elements' ),
'param_name' => 'card_price_suffix',
),
array(
'type' => 'textfield',
'heading' => __( 'Card Price Savings Ribbon', 'wds-vc-elements' ),
'description' => esc_attr__( 'This savings ribbon appears at the top of the first year selector.', 'wds-vc-elements' ),
'param_name' => 'card_price_savings_ribbon',
),
array(
'type' => 'textfield',
'heading' => __( 'Card Price (2nd year)', 'wds-vc-elements' ),
'param_name' => 'card_price_2',
),
array(
'type' => 'textfield',
'heading' => __( 'Card Price Suffix (2nd year)', 'wds-vc-elements' ),
'param_name' => 'card_price_suffix_2',
),
array(
'type' => 'textfield',
'heading' => __( 'Card Price Savings Ribbon (2nd year)', 'wds-vc-elements' ),
'description' => esc_attr__( 'This savings ribbon appears at the top of the second year selector.', 'wds-vc-elements' ),
'param_name' => 'card_price_savings_ribbon_2',
),
array(
'type' => 'textfield',
'heading' => __( 'Price Tag Line', 'wds-vc-elements' ),
'param_name' => 'price_tag_line',
),
array(
'type' => 'textfield',
'heading' => __( 'Price Tag Line (2nd year)', 'wds-vc-elements' ),
'param_name' => 'price_tag_line_2',
),
array(
'type' => 'textfield',
'heading' => __( 'Button Title Select', 'wds-vc-elements' ),
'param_name' => 'button_title_select',
),
array(
'type' => 'textfield',
'heading' => __( 'Button Title Checkout', 'wds-vc-elements' ),
'param_name' => 'button_title_checkout',
),
array(
'type' => 'hex_color_picker',
'heading' => __( 'Button Title Color', 'wds-vc-elements' ),
'param_name' => 'button_title_color',
),
array(
'type' => 'hex_color_picker',
'heading' => __( 'Button Background Color', 'wds-vc-elements' ),
'param_name' => 'button_bg_color',
),
),
),
);
}
}
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).
Version System time (s) User time (s) Memory (MiB) 7.4.5 0.011 0.006 16.59 7.4.4 0.010 0.007 16.23 7.4.3 0.012 0.012 16.19 7.4.2 0.007 0.010 16.55 7.4.1 0.003 0.013 16.26 7.4.0 0.006 0.010 16.49 7.3.17 0.006 0.010 16.20 7.3.16 0.007 0.010 16.27 7.3.15 0.007 0.010 16.43 7.3.14 0.006 0.010 16.17 7.3.13 0.008 0.008 16.06 7.3.12 0.010 0.007 16.27 7.3.11 0.008 0.008 16.18 7.3.10 0.010 0.006 16.16 7.3.9 0.006 0.012 16.27 7.3.8 0.006 0.009 16.31 7.3.7 0.014 0.006 16.23 7.3.6 0.007 0.011 16.21 7.3.5 0.020 0.003 16.08 7.3.4 0.006 0.016 16.08 7.3.3 0.013 0.010 16.13 7.3.2 0.008 0.012 16.32 7.3.1 0.033 0.031 16.24 7.3.0 0.003 0.013 16.20 7.2.29 0.014 0.003 16.45 7.2.28 0.003 0.013 16.43 7.2.27 0.015 0.003 16.55 7.2.26 0.009 0.009 16.30 7.2.25 0.007 0.010 16.30 7.2.24 0.017 0.000 16.26 7.2.23 0.010 0.006 16.21 7.2.22 0.004 0.014 16.57 7.2.21 0.011 0.008 16.18 7.2.20 0.004 0.014 16.38 7.2.19 0.006 0.012 16.36 7.2.18 0.016 0.006 16.37 7.2.17 0.010 0.010 16.58 7.2.16 0.009 0.012 16.24 7.2.15 0.007 0.016 16.29 7.2.14 0.010 0.020 16.38 7.2.13 0.013 0.007 16.43 7.2.12 0.010 0.010 16.57 7.2.11 0.008 0.012 16.23 7.2.10 0.009 0.009 16.39 7.2.9 0.013 0.006 16.32 7.2.8 0.012 0.006 16.37 7.2.7 0.009 0.009 16.14 7.2.6 0.013 0.012 16.31 7.2.5 0.012 0.006 16.34 7.2.4 0.014 0.014 16.45 7.2.3 0.009 0.009 16.29 7.2.2 0.011 0.006 16.39 7.2.1 0.015 0.003 16.18 7.2.0 0.009 0.009 16.48
preferences:dark mode live preview
168.63 ms | 1394 KiB | 7 Q