Skip to content

A function used to flatten blocks. Maybe one day a handful of functions to work with flattened blocks πŸ€·πŸ»β€β™‚οΈ

License

Notifications You must be signed in to change notification settings

happyprime/common-block-functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Common Block Functions

flatten_blocks( $blocks ) flattens a list of blocks and nested blocks into a single layer for easier parsing when making decisions around content based on block attributes.

About

A function used to flatten blocks. Maybe one day a handful of functions to work with flattened blocks πŸ€·πŸ»β€β™‚οΈ

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages