label; $json['url'] = esc_url( $this->url ); $json['section_type'] = $this->section_type; $json['pro_text'] = $this->pro_text; $json['pro_url'] = $this->pro_url; return $json; } /** * Render the control's content. */ public function render_template() { ?> <# if ( 'doc' === data.section_type ) { #>
  • <# } #> <# if ( 'pro' === data.section_type ) { #>
  • <# } #>