WP_Widget::form() – Outputs the settings update form.

You appear to be a bot. Output may be restricted

Description

Outputs the settings update form.

Usage

$string = WP_Widget::form( $instance );

Parameters

$instance
( array ) required – Current settings.

Returns

string Default return is 'noform'.

Source

File name: wordpress/wp-includes/class-wp-widget.php
Lines:

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

 View on GitHub View on Trac