function dbem_upload_location_picture($location) { $EM_Location = new EM_Location($location); $EM_Location->image_upload(); }