<?php
/**
 * Notice VC param
 *
 * @package Total Theme Core
 * @subpackage WPBakery
 * @version 1.0
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

function vcex_notice_shortcode_param( $settings, $value ) {

	return '<div style="color: #9d8967;border: 1px solid #ffeccc;background-color:#fff4e2;padding:1em;">' . esc_html( $settings['text'] ) . '</div>';

}

vc_add_shortcode_param(
	'vcex_notice',
	'vcex_notice_shortcode_param'
);