WP_Widget::form()publicWP 2.8.0

Outputs the settings update form.

Method of the class: WP_Widget{}

No Hooks.

Return

String. Default return is 'noform'.

Usage

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

Changelog

Since 2.8.0 Introduced.

WP_Widget::form() code WP 6.5.3

public function form( $instance ) {
	echo '<p class="no-options-widget">' . __( 'There are no options for this widget.' ) . '</p>';
	return 'noform';
}