Skip to content

Commit 706c383

Browse files
author
Petter Walbø Johnsgård
authored
Add filter to allow themes to increase dynamic content post limit (#57)
1 parent 7f9f249 commit 706c383

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

class-grid.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ public function get_fields() : array {
264264
'required' => 1,
265265
'default_value' => 3,
266266
'min' => 1,
267-
'max' => 10,
267+
'max' => apply_filters( 'hogan/module/grid/dynamic_content_limit', 10 ),
268268
'step' => 1,
269269
'wrapper' => [
270270
'width' => '50',

0 commit comments

Comments
 (0)