Skip to content

Conversation

@HPiirainen
Copy link
Contributor

Support ACF parent attribute for blocks to limit using the registered block only as a child of a specified parent or parents.

$parents is of type array|null since setting it as an empty array limits the block visibility altogether (it has no parents and cannot be added anywhere).

@HPiirainen HPiirainen requested a review from Nomafin October 5, 2023 10:32
@HPiirainen HPiirainen merged commit d1dde09 into master Oct 5, 2023
@HPiirainen HPiirainen deleted the support-block-parent branch October 5, 2023 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants