Layers_Widget

Since: 1.0 Last Updated:
Back to Main Index

In Layers all of our widgets extend the Layers_Widget()  class. This class allows us to use a host of helper functions which speed up the creation of widgets, such as Design Bar and Form instantiation, Masonry enqueiung and content queries.

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

It includes 8 helper functions:

See Developer Tutorials: Layers Builder Widgets for a breakdown of the helper functions used in custom widgets.