Merhaba

wordpress temamda custom filed lar var
bu custom field lar imageleri göstermek için kullanılıyor
buraya, image url lerini yerleştiriyorum ve çoğu image, farklı sitelerden geliyor

ben bu image leri kendi serverime yükleyerek göstermek için bir fonksiyon yazdırmak istiyorum

bu konuyu yabancı bir developer a sordum ve aldığım cevap aşağıdadır
-------------------------------------------

You would have to create a Custom PHP Function to do this.
For example,
function image_downloader($imageurl) {
// write the code to download $imageurl to your server
return $local_path;
}

Call the Custom PHP Function in your import template or in the Custom Field value box like this:
[image_downloader({my/image/url/xpath})]

----------------------------------------------

bana bu fonksiyonu yazabilecek arkadaşlar

lütfen

İsim:
Telefon:
Yazma süresi :
Fiyat:

bilgilerini gönderirlerse sevinirim

Teşekkürler.