id ); switch ( $this -> type) { case 'hr': echo '
'; break; case 'title' : ?> title)) : ?>

title); ?>

notice)) : ?> notice ?> choices ) ) return; ?> title)) : ?>

title); ?>

title)) : ?>

title); ?>

title)) : ?>

title); ?>

type ) : ?> ', $this->label ); ?> link(); ?> type="checkbox" value="value() ); ?>" value() ); ?> /> type ) : ?>
', $this->label ); ?>
link(); ?> type="checkbox" value="value() ); ?>" value() ); ?> class="nimblecheck-input">
notice)) : ?> notice ?> title)) : ?>

title); ?>

title)) : ?>

title); ?>

%2$s', ! empty( $this -> icon) ? $this -> icon : '', $this->label, call_user_func( array( HU_utils_settings_map::$instance, 'hu_sanitize_' . $this -> type), $this->value() ), call_user_func( array( $this, 'get'.'_'.'link' ) ) ); break; default: global $wp_version; ?> title)) : ?>

title); ?>

id ); }//end function private function hu_print_select_control($class) { printf('', call_user_func( array( $this, 'get'.'_'.'link' ) ), $class, $this -> hu_get_select_options() ); } private function hu_get_select_options() { $_options_html = ''; switch ( $this -> id ) { default: foreach ( $this->choices as $value => $label ) { $_options_html .= sprintf('', esc_attr( $value ), selected( $this->value(), $value, false ), $label ); } break; }//end switch return $_options_html; }//end of fn /** * Enqueue scripts/styles * fired by the parent Control class constructor * */ // public function enqueue() { // if ( ! empty( self::$enqueued_resources ) ) // return; // self::$enqueued_resources = true; // wp_enqueue_script( 'wp-color-picker' ); // wp_enqueue_style( 'wp-color-picker' ); // wp_enqueue_style( // 'font-awesome', // sprintf('%1$s/assets/front/css/font-awesome.min.css', get_template_directory_uri() ), // array(), // HUEMAN_VER, // $media = 'all' // ); // //select2 stylesheet // //overriden by some specific style in theme-customzer-control.css // wp_enqueue_style( // 'select2-css', // sprintf('%1$s/assets/czr/css/lib/select2.min.css', get_template_directory_uri() ), // array( 'customize-controls' ), // HUEMAN_VER, // $media = 'all' // ); // } /** * Refresh the parameters passed to the JavaScript via JSON. * * * @Override * @see WP_Customize_Control::to_json() */ public function to_json() { parent::to_json(); if ( is_array( $this->ubq_section ) && array_key_exists( 'section', $this->ubq_section ) ) $this->json['ubq_section'] = $this->ubq_section; } }//end of class endif;