Modification to wp_get_attachment_url
-
Guys,
I have a modification that I have made a tested to the wp_get_attachment_url function that will allow keep WP from prefixing and FULL URL with the WP install’s url.ex. https://mysite.com/image.png instead of https://mywpsite.com/wp-content/uploads/https://mysite.com/image.png
My question is how can I make the change a permanent feature of the theme I am using so that the change isn’t removed in updates to WP?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Modification to wp_get_attachment_url’ is closed to new replies.