File "vc-tta-toggle-section.php"

Full Path: /home/shadsolw/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/vc-tta-toggle-section.php
File size: 856 bytes
MIME-type: text/x-php
Charset: utf-8

<?php
/**
 * Class that handles specific [vc_tta_toggle_section] shortcode.
 *
 * @see js_composer/include/templates/shortcodes/vc_tta_toggle_section.php
 */

if ( ! defined( 'ABSPATH' ) ) {
	die( '-1' );
}

/**
 * WPBakery Page Builder shortcodes
 *
 * @package WPBakeryPageBuilder
 * @since 7.0
 */

VcShortcodeAutoloader::getInstance()->includeClass( 'WPBakeryShortCode_Vc_Tta_Section' );

/**
 * Class WPBakeryShortCode_Vc_Tta_Toggle_Section
 *
 * @since 7.0
 */
class WPBakeryShortCode_Vc_Tta_Toggle_Section extends WPBakeryShortCode_Vc_Tta_Section {
	/**
	 * Backend section controls.
	 *
	 * @since 7.0
	 *
	 * @var array
	 */
	protected $controls_list = [
		'add',
		'edit',
	];

	/**
	 * Get template shortcode file name.
	 *
	 * @since 7.0
	 *
	 * @return mixed|string
	 */
	public function getFileName() {
		return 'vc_tta_toggle_section';
	}
}