/**
     * {@inheritdoc}
     */
    protected function render_controls()
    {
        ?>
		<table class="form-table">
			<?php 
        parent::render_controls();
        ?>
		</table>
		<?php 
    }
    /**
     * Render section and it's controls
     *
     * @param WP_Fields_API_Section $section     Section object
     * @param null|int              $item_id     Item ID
     * @param null|string           $object_name Object name
     */
    public function render_section($section, $item_id = null, $object_name = null)
    {
        /**
         * @var $wp_fields WP_Fields_API
         */
        global $wp_fields;
        // Pass $object_name and $item_id to Section
        $section->object_name = $object_name;
        $section->item_id = $item_id;
        $controls = $wp_fields->get_controls($this->object_type, $section->object_name, $section->id);
        if (!empty($controls)) {
            $content = $section->get_content();
            ?>
			<div class="fields-form-<?php 
            echo esc_attr($this->object_type);
            ?>
-section section-<?php 
            echo esc_attr($section->id);
            ?>
-wrap fields-api-section">
				<?php 
            if ($content && $section->display_title) {
                ?>
						<h3><?php 
                echo $content;
                ?>
</h3>
						<?php 
            }
            $this->render_controls($controls, $item_id, $section->object_name);
            ?>
			</div>
			<?php 
        }
    }
 /**
  * Gather the parameters passed to client JavaScript via JSON.
  *
  * @return array The array to be exported to the client as JSON.
  */
 public function json()
 {
     $array = parent::json();
     // Backwards compatibility
     $array['panel'] = $array['screen'];
     unset($array['screen']);
 }
 /**
  * Gather the parameters passed to client JavaScript via JSON.
  *
  * @return array The array to be exported to the client as JSON.
  */
 public function json()
 {
     $array = parent::json();
     if ($this->screen) {
         /* translators: &#9656; is the unicode right-pointing triangle, and %s is the section title in the Customizer */
         $array['customizeAction'] = sprintf(__('Customizing &#9656; %s'), esc_html($this->manager->get_panel($this->screen)->title));
     } else {
         $array['customizeAction'] = __('Customizing');
     }
     // Backwards compatibility for old property names
     foreach ($this->property_map as $backcompat_arg => $actual_arg) {
         if (isset($array[$actual_arg])) {
             $array[$backcompat_arg] = $array[$actual_arg];
         }
     }
     return $array;
 }