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/row/definition.php
<?php

/**
 * Element Definition: Section
 */

class CSE_Row extends BaseClassicElement {

  public function ui() {
    return array(
      'title' => __( 'Row (v1)', 'cornerstone' ),
    );
  }

  public function flags() {
    return array(
      'context' => '_layout',
      'dynamic_child' => true
    );
  }

  public function _layout_defaults() {
    return array(
      'elements' => array(
        array( '_type' => 'classic:column', '_active' => true )
      )
    );
  }

  public function update_defaults( $defaults ) {
    return array_merge($defaults, $this->_layout_defaults() );
  }

  public function register_shortcode() {
    return false;
  }

  public function update_build_shortcode_atts( $atts ) {

    unset( $atts['title'] );
    unset( $atts['_column_layout'] );

    return $atts;

  }

}