public function build_attributes() {
		// setup attributes.
		$this->set_attributes();

		$attributes = [];
		foreach ( $this->attributes as $att => $value ) {
			if ( is_array( $value ) ) {
				$value = implode( ' ', $value );
			}
			$attributes[] = sprintf( '%s="%s"', esc_html( $att ), esc_attr( $value ) );
		}

		return implode( ' ', $attributes );
	}
public function build_attributes() {
		// setup attributes.
		$this->set_attributes();

		$attributes = [];
		foreach ( $this->attributes as $att => $value ) {
			if ( is_array( $value ) ) {
				$value = implode( ' ', $value );
			}
			$attributes[] = sprintf( '%s="%s"', esc_html( $att ), esc_attr( $value ) );
		}

		return implode( ' ', $attributes );
	}
public function build_attributes ( ) { // setup attributes. $ this -> set_attributes ( ) ; $ attributes = [ ] ; foreach ( $ this -> attributes as $ att => $ value ) { if ( is_array ( $ value ) ) { $ value = implode ( ' ' , $ value ) ; } $ attributes [ ] = sprintf ( '%s="%s"' , esc_html ( $ att ) , esc_attr ( $ value ) ) ; } return implode ( ' ' , $ attributes ) ; }
Build Attributes for the input control

@since  1.0.0
@access public
@return string Attributes string for applying to an element
Build Attributes for the input control