HEX
Server: Apache
System: Linux cpanelx.inxs.ro 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: crowdandsafety (1041)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/cwd/wp-content/plugins/cornerstone/includes/elements/classic/_alternate/tab.php
<?php

class CS_Tab extends Cornerstone_Element_Base {

  public function data() {
    return array(
      'name'        => 'tab',
      'title'       => __( 'Tab', 'cornerstone' ),
      'section'     => '_content',
      'description' => __( 'Tab description.', 'cornerstone' ),
      'supports'    => array( 'class' ),
      'render'      => false,
      'library'        => false,
      'protected_keys' => array( 'title', 'content' ),
      'label_key' => 'title'
    );
  }

  public function controls() {

    $this->addControl(
      'title',
      'title',
      NULL,
      NULL,
      ''
    );

    $this->addControl(
      'content',
      'editor',
      __( 'Content', 'cornerstone' ),
      __( 'Include your desired content for your Tab here.', 'cornerstone' ),
      ''
    );

    $this->addControl(
      'active',
      'toggle',
      __( 'Initial Active Tab', 'cornerstone' ),
      __( 'Only one tab must be specified as the initial active Tab. If no active Tab or multiple active Tabs are specified, there will be layout errors.', 'cornerstone' ),
      false
    );

  }

}