| Server IP : 195.130.67.5 / Your IP : 216.73.217.127 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /inetpub/wwwroot/engineering/wp-content/plugins/js_composer/include/classes/shortcodes/ |
Upload File : |
<?php
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
require_once vc_path_dir( 'SHORTCODES_DIR', 'vc-tabs.php' );
define( 'SLIDE_TITLE', __( 'Slide', 'js_composer' ) );
class WPBakeryShortCode_VC_Tour extends WPBakeryShortCode_VC_Tabs {
protected $predefined_atts = array(
'tab_id' => SLIDE_TITLE,
'title' => '',
);
protected function getFileName() {
return 'vc_tabs';
}
public function getTabTemplate() {
return '<div class="wpb_template">' . do_shortcode( '[vc_tab title="' . SLIDE_TITLE . '" tab_id=""][/vc_tab]' ) . '</div>';
}
}