WC_Widget_Layered_Nav::get_instance_display_type()protectedWC 1.0

Get this widgets display type.

{} It's a 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.

Code of WC_Widget_Layered_Nav::get_instance_display_type() WC 6.8.2

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