Skip to main content

Filter: gravityview/widgets/wrapper_css_class

The CSS class applied to the widget container div.

Parameters

NameTypeDescription
$css_classstringDefault: gv-grid gv-widgets-{zone} where {zone} is replaced by the current $zone value. If the View has no results, adds gv-widgets-no-results
$zonestringCurrent widget zone, either header or footer
$widgetsarrayArray of widget configurations for the current zone, as set by gravityview_get_current_view_data()['widgets']

Since

Source

Defined in includes/class-template.php at line 1014