choices['language'] ) ) { $this->choices['language'] = 'css'; } if ( ! isset( $this->choices['theme'] ) ) { $this->choices['theme'] = 'monokai'; } if ( ! isset( $this->choices['height'] ) ) { $this->choices['height'] = 200; } $this->json['value'] = $this->value(); $this->json['choices'] = $this->choices; $this->json['link'] = $this->get_link(); } public function enqueue() { wp_enqueue_script( 'ace', trailingslashit( kirki_url() ) . 'includes/controls/code/src-min-noconflict/ace.js', array( 'jquery' ) ); wp_enqueue_script( 'kirki-code', trailingslashit( kirki_url() ) . 'includes/controls/code/script.js', array( 'jquery', 'ace' ) ); } public function content_template() { ?> <# /** * Add some custom CSS to define the height */ #>