json['choices'] = $this->choices; } /** * Empty JS template. * * @access public * @since 1.0.0 * @return void */ public function content_template() {} /** * Empty PHP template. * * @access public * @since 1.0.0 * @return void */ public function render_content() { $html_attributes = array( 'class' => 'generate-customize-control-wrapper', 'id' => $this->id, 'data-wrapper-type' => $this->choices['type'], ); if ( ! empty( $this->choices['class'] ) ) { $html_attributes['class'] .= ' ' . $this->choices['class']; } $attributes_string = ''; foreach ( $html_attributes as $attribute => $value ) { $attributes_string .= $attribute . '="' . esc_attr( $value ) . '" '; } $this->toggleIdScript(); ?>