<?php add_action( 'vc_before_init', 'dt_sc_hr_svg_vc_map' );
function dt_sc_hr_svg_vc_map() {
	vc_map( array(
		"name" => esc_html__( "Stamp Divider", 'dental-core' ),
		"base" => "dt_sc_hr_svg",
		"icon" => "dt_sc_hr_svg",
		"category" => DT_VC_CATEGORY,
		"params" => array(

			# Type
			array(
				'type' => 'dropdown',
				'heading' => esc_html__('Type', 'dental-core'),
				'param_name' => 'type',
				'value' => array( esc_html__('Divider Down','dental-core') => 'stamp-divider-down', esc_html__('Divider Up','dental-core') => 'stamp-divider-up' ),
				'std' => 'stamp-divider-down'
			),

			# Fill Color
			array(
				"type" => "colorpicker",
      			"heading" => esc_html__( "Fill color", 'dental-core' ),
      			"param_name" => "fillcolor",
      			"description" => esc_html__( "Select fill color", 'dental-core' ),
      			"value" => '#ffffff'
      		),

			# Stroke Color
			array(
				"type" => "colorpicker",
      			"heading" => esc_html__( "Stroke color", 'dental-core' ),
      			"param_name" => "strokecolor",
      			"description" => esc_html__( "Select stroke color", 'dental-core' ),
      			"value" => '#ffffff'
      		)			
		)
	) );	
}?>