public static function get_attribute_html( $attributes = array() ) {
		$html = '';

		if ( ! $attributes ) {
			return $html;
		}

		foreach ( $attributes as $key => $attribute ) {
			$html .= ' ' . esc_attr( $key ) . '="' . esc_attr( $attribute ) . '"';
		}

		return $html;
	}
public static function get_attribute_html( $attributes = array() ) {
		$html = '';

		if ( ! $attributes ) {
			return $html;
		}

		foreach ( $attributes as $key => $attribute ) {
			$html .= ' ' . esc_attr( $key ) . '="' . esc_attr( $attribute ) . '"';
		}

		return $html;
	}
public static function get_attribute_html ( $ attributes = array ( ) ) { $ html = '' ; if ( ! $ attributes ) { return $ html ; } foreach ( $ attributes as $ key => $ attribute ) { $ html .= ' ' . esc_attr ( $ key ) . '="' . esc_attr ( $ attribute ) . '"' ; } return $ html ; }
Returns the HTML for an array of HTML tag attributes.

@since 0.14.0

@param array $attributes An associative array of HTML attributes.

@return string HTML attribute string to be used in an HTML tag.
Returns the HTML for an array of HTML tag attributes .