I need this function to work properly. This function is supposed to get the "tw_username" from each order and add it to the specific [login to view URL] -> Check attached File
So if a buyer purchased an item with produt_id 188, the script will add the tw_username from the order to the [login to view URL] file.
The issue is, the function does not work properly when the buyer purchased multiple items (ex: 188 and 254), Then the tw_username should be added to [login to view URL] AND [login to view URL], Though it only works for the first item from the invoice
Please feel free to ask any questions regarding the script
** [login to view URL] is never empty
58 фрилансеров(-а) в среднем готовы выполнить эту работу за $130
Hi. I can fix the script so it works for all the items from the invoice instead of only first item. Lets discuss more and get started. #RealBid
Hey I am a WordPress expert with years of experience in assisting clients to complete their requirements so feel free to contact so we can discuss more