1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); }
/** * WPBakery WPBakery Page Builder shortcodes * * @package WPBakeryPageBuilder * */ class WPBakeryShortCode_Vc_Button extends WPBakeryShortCode { /** * @param $title * @return string */ protected function outputTitle( $title ) { $icon = $this->settings( 'icon' );
return '<h4 class="wpb_element_title"><span class="vc_general vc_element-icon' . ( ! empty( $icon ) ? ' ' . esc_attr( $icon ) : '' ) . '"></span></h4>'; } }
|