WC_Widget_Brand_Description::form()publicWC 1.0

Outputs the settings update form.

Method of the class: WC_Widget_Brand_Description{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Widget_Brand_Description = new WC_Widget_Brand_Description();
$WC_Widget_Brand_Description->form( $instance );
$instance(array) (required)
Current settings.

WC_Widget_Brand_Description::form() code WC 9.5.1

<?php
public function form( $instance ) {
	?>
		<p>
			<label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"><?php esc_html_e( 'Title:', 'woocommerce' ); ?></label>
			<input type="text" class="widefat" id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" value="<?php echo isset( $instance['title'] ) ? esc_attr( $instance['title'] ) : ''; ?>" />
		</p>
	<?php
}