I want local url for wp_get_attachment_url()
-
wp_get_attachment_url() process full file path like https://example.com/wp-content/uploads/2014/12/aura.mp3
I want the url without https://example.com/
So, I want above example as wp-content/uploads/2014/12/aura.mp3 instead of https://example.com/wp-content/uploads/2014/12/aura.mp3. How to do it?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘I want local url for wp_get_attachment_url()’ is closed to new replies.