private function tab_label( $child, $active ) {

		$output = null;

		$label = esc_html( $child->struct['label'] );

		if ( ! empty( $child->struct['icon'] ) ) {
			$label = '<i class="dashicons ' . $child->struct['icon'] . '"></i><span class="label">' . esc_html( $child->struct['label'] ) . '</span>';
		}

		$output .= '<li aria-selected="' . esc_attr( $active ) . '">';
		$output .= '<a href="#' . esc_attr( $child->id() ) . '" data-parent="' . esc_attr( $this->id() ) . '" class="uix-tab-trigger">' . $label . '</a>';
		$output .= '</li>';

		return $output;
	}
private function tab_label( $child, $active ) {

		$output = null;

		$label = esc_html( $child->struct['label'] );

		if ( ! empty( $child->struct['icon'] ) ) {
			$label = '<i class="dashicons ' . $child->struct['icon'] . '"></i><span class="label">' . esc_html( $child->struct['label'] ) . '</span>';
		}

		$output .= '<li aria-selected="' . esc_attr( $active ) . '">';
		$output .= '<a href="#' . esc_attr( $child->id() ) . '" data-parent="' . esc_attr( $this->id() ) . '" class="uix-tab-trigger">' . $label . '</a>';
		$output .= '</li>';

		return $output;
	}
private function tab_label ( $ child , $ active ) { $ output = null ; $ label = esc_html ( $ child -> struct [ 'label' ] ) ; if ( ! empty ( $ child -> struct [ 'icon' ] ) ) { $ label = '<i class="dashicons ' . $ child -> struct [ 'icon' ] . '"></i><span class="label">' . esc_html ( $ child -> struct [ 'label' ] ) . '</span>' ; } $ output .= '<li aria-selected="' . esc_attr ( $ active ) . '">' ; $ output .= '<a href="#' . esc_attr ( $ child -> id ( ) ) . '" data-parent="' . esc_attr ( $ this -> id ( ) ) . '" class="uix-tab-trigger">' . $ label . '</a>' ; $ output .= '</li>' ; return $ output ; }
Render the tabs label

@since  1.0.0

@param object $child Child object to render tab for.
@param string $active Set the tabactive or not.

@access private
@return string|null html of rendered label
Render the tabs label