BBP_Views_Widget::form( $instance = array() )
Output the view widget options form
Description
Parameters
- $instance
-
(Optional) Instance
Default value: array()
Source
File: bp-forums/common/widgets.php
344 345 346 347 348 349 350 351 352 353 354 355 356 | public function form( $instance = array () ) { // Get widget settings $settings = $this ->parse_settings( $instance ); ?> <p> <label for = "<?php echo $this->get_field_id( 'title' ); ?>" ><?php _e( 'Title:' , 'buddyboss' ); ?> <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
Version | Description |
---|---|
bbPress (r3020) | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.