= 0) { if (function_exists('vc_add_shortcode_param')) { vc_add_shortcode_param('lvca_number', array(&$this, 'number_field')); } } else { if (function_exists('add_shortcode_param')) { add_shortcode_param('lvca_number', array(&$this, 'number_field')); } } } function number_field($settings, $value) { $defaults = array( 'param_name' => '', 'type' => '', 'min' => 0, 'max' => 100, 'step' => 1, 'value' => 0, 'suffix' => '', 'class' => '', ); $settings = wp_parse_args($settings, $defaults); $output = '