Joan Noroff
} //Update the widget function update( $new_instance, $old_instance ) { $instance = $old_instance; foreach($new_instance as $key => $value){ $instance[$key] = $value; } return $instance; } function form( $instance ) { if ( isset( $instance[ 'provider_id' ] ) ) { $providerId = @$instance[ 'provider_id' ]; } else { $providerId = __( '0', 'text_domain' ); } ?>
Provider id:
: