update()
update(array $new_instance, array $old_instance) : array
Sanitize widget form values as they are saved.
Parameters
array |
$new_instance |
Values just sent to be saved. |
array |
$old_instance |
Previously saved values from database. |
Returns
array
— Updated safe values to be saved.