= 0 ) { if ( function_exists( 'vc_add_shortcode_param' ) ) { vc_add_shortcode_param( 'lvca_infobox', array( $this, 'infobox_field' ) ); } } else { if ( function_exists( 'add_shortcode_param' ) ) { add_shortcode_param( 'lvca_infobox', array( $this, 'infobox_field' ) ); } } } public function infobox_field( $settings, $value ) { $dependency = ''; $param_name = isset( $settings['param_name'] ) ? $settings['param_name'] : ''; $class = isset( $settings['class'] ) ? $settings['class'] : ''; $text = isset( $settings['text'] ) ? $settings['text'] : ''; $output = '