LLMS_BBP_Widget_Course_Forums_List::form( array $instance )

Output widget options form


Parameters Parameters

$instance

(array) (Required) instance data


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/widgets/class.llms.bbp.widget.course.forums.list.php

	public function form( $instance ) {

		$title = isset( $instance['title'] ) ? $instance['title'] : __( 'Course Forums', 'lifterlms' );
		?>
		<p>
			<label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php esc_html_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
3.12.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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