BBP_Stats_Widget::form( $instance )
Output the statistics widget options form
Description Description
Parameters Parameters
- $instance
-
(Required)
Return Return
(string|void)
Source Source
File: includes/common/widgets.php
public function form( $instance ) {
// Get widget settings
$settings = $this->parse_settings( $instance ); ?>
<p>
<label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php esc_html_e( 'Title:', 'bbpress' ); ?>
<input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $settings['title'] ); ?>"/>
</label>
</p>
<?php
}
Changelog Changelog
| Version | Description |
|---|---|
| 2.3.0 | Introduced. |