json['default'] = $this->setting->default; if( $this->tab && $this->type != 'section-tab' ) { $this->json['tab'] = $this->tab; } $this->json['bottom_separator'] = $this->bottom_separator; $this->json['popup'] = $this->popup; } /** * Generates the unique identifier for the control */ function identifier_id() { return apply_filters( 'blog_postx_unique_identifier', $this->type ); } /** * Renders the control wrapper and calls $this->render_content() for the internals. * * @since 1.0.0 */ protected function render() { $id = 'customize-control-' . str_replace( array( '[', ']' ), array( '-', '' ), $this->id ); $class = 'customize-control customize-control-' . $this->type; if( $this->bottom_separator ) $class .= ' blog-postx-bottom-separator'; printf( '