LLMS_Widget::form( array $instance )
Back-end widget form.
Contents
Description Description
See also See also
Parameters Parameters
- $instance
-
(array) (Required) Previously saved values from database.
Return Return
(void)
Source Source
File: includes/widgets/class.llms.widget.php
public function form( $instance ) { $title = ! empty( $instance['title'] ) ? $instance['title'] : ''; ?> <p> <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:', 'lifterlms' ); ?></label> <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( $title ); ?>"> </p> <?php }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |