Skip to content

Instantly share code, notes, and snippets.

@hyperframed
Last active August 12, 2022 11:25
Show Gist options
  • Save hyperframed/0c46062dac2c6b0a145f65f3e5152b83 to your computer and use it in GitHub Desktop.
Save hyperframed/0c46062dac2c6b0a145f65f3e5152b83 to your computer and use it in GitHub Desktop.
Hivepress Filter
add_filter(
'hivepress/v1/templates/####TEMPLATE####',
function( $template ) {
return hivepress()->helper->merge_trees(
$template,
[
'blocks' => [
###############
],
],
]
);
},
1000
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment