WP_Widget::form( array $instance )

Outputs the settings update form.


Parameters

$instance

(Required) Current settings.


Return

(string) Default return is 'noform'.


Source

File: wp-includes/class-wp-widget.php

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


Changelog

Changelog
Version Description
WP-2.8.0 Introduced.