get_widget_layout_class()

Since: 1.0 Last Updated:
Back to Main Index

This safety function is used in the Layers_Widget  class in conjunction with the Layout option in the Design Bar.

Location: /core/widgets/modules/base.php

Parameters

  • $widget  – The $instance  array which we will use to check against.

Usage

For more information see our Widget Creation Tutorial