Build URL query in WordPress based on an associative array

Content of the article

If we have PHP associative array of data and its necessary to build link like key1=value1&key2=value2&key3=value3 we can use next WordPress function: