File "vc-message.php"
Full Path: /var/www/bvnghean.vn/save_bvnghean.vn/wp-content/plugins/js_composer/include/classes/shortcodes/vc-message.php
File size: 670 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
class WPBakeryShortCode_VC_Message extends WPBakeryShortCode {
public static function convertAttributesToMessageBox2( $atts ) {
if ( isset( $atts['style'] ) ) {
if ( '3d' === $atts['style'] ) {
$atts['message_box_style'] = '3d';
$atts['style'] = 'rounded';
} elseif ( 'outlined' === $atts['style'] ) {
$atts['message_box_style'] = 'outline';
$atts['style'] = 'rounded';
} elseif ( 'square_outlined' === $atts['style'] ) {
$atts['message_box_style'] = 'outline';
$atts['style'] = 'square';
}
}
return $atts;
}
public function outputTitle( $title ) {
return '';
}
}