function image_ncck_photobucket_image_title in Embedded Media Field 5
implement image_ncck_PROVIDER_image_title
Parameters
$code: the code of the image @param $data any stored data for the image, which may already have the title @return the title as the 3rd party provider knows it, if accessible to us. otherwise, ''
1 call to image_ncck_photobucket_image_title()
- image_ncck_photobucket_data in contrib/
image_ncck/ providers/ photobucket.inc
File
- contrib/
image_ncck/ providers/ photobucket.inc, line 95
Code
function image_ncck_photobucket_image_title($code, $data) {
if ($data['title']) {
return $data['title'];
}
$url = image_ncck_photobucket_embedded_link($code, $data);
return _image_ncck_photobucket_scrape_image_title($url);
}