WC_Widget_Layered_Nav::get_instance_display_type()protectedWC 1.0

Get this widgets display type.

Method of the class: WC_Widget_Layered_Nav{}

No Hooks.

Return

String.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_instance_display_type( $instance );
$instance(array) (required)
Array of instance options.

WC_Widget_Layered_Nav::get_instance_display_type() code WC 8.7.0

protected function get_instance_display_type( $instance ) {
	return isset( $instance['display_type'] ) ? $instance['display_type'] : 'list';
}