label ) ) { echo '' . esc_html( $this->label ) . ''; } if ( isset( $this->description ) ) { echo '' . wp_kses_post( $this->description ) . ''; } } protected function render() { $id = 'customize-control-' . str_replace( array( '[', ']' ), array( '-', '' ), $this->id ); $class = 'customize-control customize-control-' . $this->type; if ( isset( $this->classname ) ) { $class .= ' ' . $this->classname; // 追加した処理 } printf( '
  • ', esc_attr( $id ), esc_attr( $class ) ); $this->render_content(); echo '
  • '; } }