[ 'key' => $plugin->settings->get_option( 'snazzy_maps_api_key', 'elementor_extras_apis', false ), 'endpoint' => $plugin->settings->get_option( 'snazzy_maps_endpoint', 'elementor_extras_apis', false ) || 'explore', 'term' => 'color', ], 'label_block' => true, ]; } /** * Render select2 control output in the editor. * * Used to generate the control HTML in the editor using Underscore JS * template. The variables for the class are available using `data` JS * object. * * @since 2.0.0 * @access public */ public function content_template() { $control_uid = $this->get_control_uid(); ?> <# if ( data.snazzy_options.key ) { #>