sanitizeElementData( $image['caption'] ); return $image; }, $data['images'] ); } else { $data['caption'] = $this->sanitizeElementData( $data['caption'] ); } return $data; } }