Skip to content

Commit 5231a84

Browse files
author
bfintal@gmail.com
committed
added repeater value in button block
1 parent 5acc421 commit 5231a84

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

src/block/button-group/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"title": "Button Group",
55
"description": "Add a customizable button.",
66
"category": "stackable",
7-
"usesContext": [ "postId", "postType", "queryId" , "stackable/innerBlockOrientation" ],
7+
"usesContext": [ "postId", "postType", "queryId" , "stackable/innerBlockOrientation", "stackable/repeaterValue" ],
88
"keywords": [
99
"Link"
1010
],

src/block/button/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"title": "Button",
55
"description": "Add a customizable button.",
66
"category": "stackable",
7-
"usesContext": [ "postId", "postType", "queryId" , "stackable/innerBlockOrientation" ],
7+
"usesContext": [ "postId", "postType", "queryId" , "stackable/innerBlockOrientation", "stackable/repeaterValue" ],
88
"parent": [
99
"stackable/button-group"
1010
],

src/stk-block-types.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ function stackable_get_blocks_array( $blocks = array() ) {
5555
'postId',
5656
'postType',
5757
'queryId',
58-
'stackable/innerBlockOrientation'
58+
'stackable/innerBlockOrientation',
59+
'stackable/repeaterValue'
5960
],
6061
'parent' => [
6162
'stackable/button-group'
@@ -77,7 +78,8 @@ function stackable_get_blocks_array( $blocks = array() ) {
7778
'postId',
7879
'postType',
7980
'queryId',
80-
'stackable/innerBlockOrientation'
81+
'stackable/innerBlockOrientation',
82+
'stackable/repeaterValue'
8183
],
8284
'keywords' => [
8385
__( 'Link', STACKABLE_I18N )

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy