I want to get source of files when I click add media. Suppose, when I select a pdf file I get
in text editor. Now I need to get value of "href" when I click the file from add media. Is there any built in WordPress function to get the value?