LLMS_Widget::form( array $instance )

Back-end widget form.


Description Description

See also See also


Top ↑

Parameters Parameters

$instance

(array) (Required) Previously saved values from database.


Top ↑

Return Return

(void)


Top ↑

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
	}


Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.