I want to get href url from media files. But i have no idea how to do that.
For example me did use that code.
wp_get_attachment_link($item['id']); and the result is in <a> tag like that...
<a title="Manha de Carnival" href="http://mysite.com/new6/wp-content/uploads/2013/03/manhadecarnival.mp3">Manha de Carnival</a>
But i want just http://mysite.com/new6/wp-content/uploads/2013/03/manhadecarnival.mp3
how can i get that? Pliz help me asap. it's very very urgent
waqar3 0 Newbie Poster

LastMitch
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.